[nginx] Upstream: stale comments removed.

Maxim Dounin mdounin at mdounin.ru
Thu Jul 25 11:58:46 UTC 2013


details:   http://hg.nginx.org/nginx/rev/8f9da50cf912
branches:  
changeset: 5292:8f9da50cf912
user:      Maxim Dounin <mdounin at mdounin.ru>
date:      Thu Jun 13 19:52:31 2013 +0400
description:
Upstream: stale comments removed.

diffstat:

 src/http/ngx_http_upstream.c |  12 ------------
 1 files changed, 0 insertions(+), 12 deletions(-)

diffs (26 lines):

diff --git a/src/http/ngx_http_upstream.c b/src/http/ngx_http_upstream.c
--- 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;
 



More information about the nginx-devel mailing list