# HG changeset patch # User Maxim Dounin # Date 1371138751 -14400 # Node ID 8f9da50cf912e706e795f5b889aae15e482480a8 # Parent 84155a389bcc249138e18546134cfbff1931013b Upstream: stale comments removed. diff -r 84155a389bcc -r 8f9da50cf912 src/http/ngx_http_upstream.c --- a/src/http/ngx_http_upstream.c Thu Jul 25 14:55:32 2013 +0400 +++ b/src/http/ngx_http_upstream.c Thu Jun 13 19:52:31 2013 +0400 @@ -1472,22 +1472,10 @@ 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;