changeset 5292:8f9da50cf912

Upstream: stale comments removed.
author Maxim Dounin <mdounin@mdounin.ru>
date Thu, 13 Jun 2013 19:52:31 +0400
parents 84155a389bcc
children 2c4eb6ecba26
files src/http/ngx_http_upstream.c
diffstat 1 files changed, 0 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- 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_
 
     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;