Mercurial > hg > nginx-quic
comparison src/http/ngx_http_upstream.h @ 4120:42135dd1f0ea
Upstream: keepalive flag.
This patch introduces r->upstream->keepalive flag, which is set by protocol
handlers if connection to upstream is in good state and can be kept alive.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Thu, 15 Sep 2011 19:03:15 +0000 |
parents | dbddec65fdab |
children | 0ee350b5177c |
comparison
equal
deleted
inserted
replaced
4119:b66712cde67d | 4120:42135dd1f0ea |
---|---|
306 #if (NGX_HTTP_CACHE) | 306 #if (NGX_HTTP_CACHE) |
307 unsigned cache_status:3; | 307 unsigned cache_status:3; |
308 #endif | 308 #endif |
309 | 309 |
310 unsigned buffering:1; | 310 unsigned buffering:1; |
311 unsigned keepalive:1; | |
311 | 312 |
312 unsigned request_sent:1; | 313 unsigned request_sent:1; |
313 unsigned header_sent:1; | 314 unsigned header_sent:1; |
314 }; | 315 }; |
315 | 316 |