Mercurial > hg > nginx
comparison src/http/ngx_http_event.c @ 101:2e069b6e6920
nginx-0.0.1-2003-06-04-21:28:33 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 04 Jun 2003 17:28:33 +0000 |
parents | 7ebc8b7fb816 |
children | 6dfda4cf5200 |
comparison
equal
deleted
inserted
replaced
100:7ebc8b7fb816 | 101:2e069b6e6920 |
---|---|
1131 } | 1131 } |
1132 } | 1132 } |
1133 | 1133 |
1134 ctx->action = "keepalive"; | 1134 ctx->action = "keepalive"; |
1135 | 1135 |
1136 if (c->tcp_nopush) { | |
1137 if (ngx_tcp_push(c->fd) == NGX_ERROR) { | |
1138 ngx_log_error(NGX_LOG_CRIT, c->log, ngx_socket_errno, | |
1139 ngx_tcp_push_n " failed"); | |
1140 ngx_http_close_connection(c); | |
1141 return; | |
1142 } | |
1143 c->tcp_nopush = 0; | |
1144 } | |
1145 | |
1136 if ((ngx_event_flags & NGX_HAVE_AIO_EVENT) || blocked) { | 1146 if ((ngx_event_flags & NGX_HAVE_AIO_EVENT) || blocked) { |
1137 ngx_http_keepalive_handler(rev); | 1147 ngx_http_keepalive_handler(rev); |
1138 } | 1148 } |
1139 } | 1149 } |
1140 | 1150 |