diff options
Diffstat (limited to 'src/http/ngx_http.c')
-rw-r--r-- | src/http/ngx_http.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/http/ngx_http.c b/src/http/ngx_http.c index 9fa8f6213..14ee3eab2 100644 --- a/src/http/ngx_http.c +++ b/src/http/ngx_http.c @@ -480,7 +480,13 @@ static char *ngx_http_block(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) ls->addr = offsetof(struct sockaddr_in, sin_addr); ls->addr_text_max_len = INET_ADDRSTRLEN; ls->backlog = -1; +#if 0 +#if 0 ls->nonblocking = 1; +#else + ls->nonblocking = 0; +#endif +#endif ls->handler = ngx_http_init_connection; |