Mercurial > hg > nginx-quic
comparison src/http/ngx_http_upstream.c @ 5292:8f9da50cf912
Upstream: stale comments removed.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Thu, 13 Jun 2013 19:52:31 +0400 |
parents | af60a210cb78 |
children | 2c4eb6ecba26 |
comparison
equal
deleted
inserted
replaced
5291:84155a389bcc | 5292:8f9da50cf912 |
---|---|
1470 c->tcp_nopush = NGX_TCP_NOPUSH_UNSET; | 1470 c->tcp_nopush = NGX_TCP_NOPUSH_UNSET; |
1471 } | 1471 } |
1472 | 1472 |
1473 ngx_add_timer(c->read, u->conf->read_timeout); | 1473 ngx_add_timer(c->read, u->conf->read_timeout); |
1474 | 1474 |
1475 #if 1 | |
1476 if (c->read->ready) { | 1475 if (c->read->ready) { |
1477 | |
1478 /* post aio operation */ | |
1479 | |
1480 /* | |
1481 * TODO comment | |
1482 * although we can post aio operation just in the end | |
1483 * of ngx_http_upstream_connect() CHECK IT !!! | |
1484 * it's better to do here because we postpone header buffer allocation | |
1485 */ | |
1486 | |
1487 ngx_http_upstream_process_header(r, u); | 1476 ngx_http_upstream_process_header(r, u); |
1488 return; | 1477 return; |
1489 } | 1478 } |
1490 #endif | |
1491 | 1479 |
1492 u->write_event_handler = ngx_http_upstream_dummy_handler; | 1480 u->write_event_handler = ngx_http_upstream_dummy_handler; |
1493 | 1481 |
1494 if (ngx_handle_write_event(c->write, 0) != NGX_OK) { | 1482 if (ngx_handle_write_event(c->write, 0) != NGX_OK) { |
1495 ngx_http_upstream_finalize_request(r, u, | 1483 ngx_http_upstream_finalize_request(r, u, |