aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_core_module.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/http/ngx_http_core_module.c')
-rw-r--r--src/http/ngx_http_core_module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c
index 52e4a2715..aeec7d21c 100644
--- a/src/http/ngx_http_core_module.c
+++ b/src/http/ngx_http_core_module.c
@@ -567,7 +567,7 @@ int ngx_http_find_location_config(ngx_http_request_t *r)
if (!clcf->tcp_nopush) {
/* disable TCP_NOPUSH/TCP_CORK use */
- r->connection->tcp_nopush = -1;
+ r->connection->tcp_nopush = NGX_TCP_NOPUSH_DISABLED;
}