aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_unix_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/os/unix/ngx_unix_init.c')
-rw-r--r--src/os/unix/ngx_unix_init.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/os/unix/ngx_unix_init.c b/src/os/unix/ngx_unix_init.c
index 95741642b..ab33979ec 100644
--- a/src/os/unix/ngx_unix_init.c
+++ b/src/os/unix/ngx_unix_init.c
@@ -3,17 +3,19 @@
#include <ngx_core.h>
+#if 0
/* STUB */
ssize_t ngx_unix_recv(ngx_connection_t *c, char *buf, size_t size);
ngx_chain_t *ngx_writev_chain(ngx_connection_t *c, ngx_chain_t *in);
int ngx_posix_init(ngx_log_t *log);
int ngx_posix_post_conf_init(ngx_log_t *log);
/* */
+#endif
ngx_os_io_t ngx_os_io = {
ngx_unix_recv,
- NULL,
+ ngx_readv_chain,
NULL,
ngx_writev_chain,
NGX_HAVE_ZEROCOPY