Mercurial > hg > nginx
comparison src/http/ngx_http_upstream.h @ 7231:22f7bdbd96d3
Upstream: u->request_body_blocked flag.
The flag indicates whether last ngx_output_chain() returned NGX_AGAIN
or not. If the flag is set, we arm the u->conf->send_timeout timer.
The flag complements c->write->ready test, and allows to stop sending
the request body in an output filter due to protocol-specific flow
control.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Sat, 17 Mar 2018 23:04:22 +0300 |
parents | 098bbd076a2d |
children | a7ed15573ae9 |
comparison
equal
deleted
inserted
replaced
7230:098bbd076a2d | 7231:22f7bdbd96d3 |
---|---|
389 unsigned keepalive:1; | 389 unsigned keepalive:1; |
390 unsigned upgrade:1; | 390 unsigned upgrade:1; |
391 | 391 |
392 unsigned request_sent:1; | 392 unsigned request_sent:1; |
393 unsigned request_body_sent:1; | 393 unsigned request_body_sent:1; |
394 unsigned request_body_blocked:1; | |
394 unsigned header_sent:1; | 395 unsigned header_sent:1; |
395 }; | 396 }; |
396 | 397 |
397 | 398 |
398 typedef struct { | 399 typedef struct { |