summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2013-06-13 19:52:31 +0400
committerMaxim Dounin <mdounin@mdounin.ru>2013-06-13 19:52:31 +0400
commitec021eda55991762c769a39425410357b9f9e665 (patch)
tree66366fa0dd1a25c9a200c5a046fa1c6868382acd /src
parent84d2ecf87ee0c1b7a5f1b415f73dbb864cdef0ed (diff)
downloadnginx-ec021eda55991762c769a39425410357b9f9e665.tar.gz
nginx-ec021eda55991762c769a39425410357b9f9e665.tar.bz2
Upstream: stale comments removed.
Diffstat (limited to 'src')
-rw-r--r--src/http/ngx_http_upstream.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/http/ngx_http_upstream.c b/src/http/ngx_http_upstream.c
index 5ba794228..05ed55401 100644
--- a/src/http/ngx_http_upstream.c
+++ b/src/http/ngx_http_upstream.c
@@ -1472,22 +1472,10 @@ ngx_http_upstream_send_request(ngx_http_request_t *r, ngx_http_upstream_t *u)
ngx_add_timer(c->read, u->conf->read_timeout);
-#if 1
if (c->read->ready) {
-
- /* post aio operation */
-
- /*
- * TODO comment
- * although we can post aio operation just in the end
- * of ngx_http_upstream_connect() CHECK IT !!!
- * it's better to do here because we postpone header buffer allocation
- */
-
ngx_http_upstream_process_header(r, u);
return;
}
-#endif
u->write_event_handler = ngx_http_upstream_dummy_handler;