nginx/src/stream
Maxim Dounin a52433a04c HTTP/2: made it possible to flush response headers (ticket #1743).
Response headers can be buffered in the SSL buffer.  But stream's fake
connection buffered flag did not reflect this, so any attempts to flush
the buffer without sending additional data were stopped by the write filter.

It does not seem to be possible to reflect this in fc->buffered though, as
we never known if main connection's c->buffered corresponds to the particular
stream or not.  As such, fc->buffered might prevent request finalization
due to sending data on some other stream.

Fix is to implement handling of flush buffers when the c->need_flush_buf
flag is set, similarly to the existing last buffer handling.  The same
flag is now used for UDP sockets in the stream module instead of explicit
checking of c->type.
2022-02-03 01:44:38 +03:00
..
ngx_stream_access_module.c Access: simplified rule parser code. 2017-05-15 17:16:32 +03:00
ngx_stream_core_module.c Stream: the "fastopen" parameter of the "listen" directive. 2021-05-20 19:59:16 +03:00
ngx_stream_geo_module.c Geo: fixed handling of AF_UNIX client addresses (ticket #1684). 2018-12-14 18:11:06 +03:00
ngx_stream_geoip_module.c Variables: macros for null variables. 2017-08-01 14:28:33 +03:00
ngx_stream_handler.c Stream: phases. 2016-09-15 14:55:54 +03:00
ngx_stream_limit_conn_module.c Limit conn: added shared context. 2019-11-18 19:50:59 +03:00
ngx_stream_log_module.c Style. 2018-03-05 21:35:08 +03:00
ngx_stream_map_module.c Map: the "volatile" parameter. 2016-12-08 17:51:49 +03:00
ngx_stream_proxy_module.c Stream: added half-close support. 2021-09-22 10:20:00 +03:00
ngx_stream_realip_module.c Core: moved PROXY protocol fields out of ngx_connection_t. 2019-10-21 18:06:19 +03:00
ngx_stream_return_module.c Stream: filters. 2016-09-15 14:55:46 +03:00
ngx_stream_script.c Upstream: variables support in certificates. 2021-05-06 02:22:09 +03:00
ngx_stream_script.h Upstream: variables support in certificates. 2021-05-06 02:22:09 +03:00
ngx_stream_set_module.c Stream: set module. 2020-08-28 14:10:54 -07:00
ngx_stream_split_clients_module.c Stream: split_clients module. 2016-07-12 17:34:52 +03:00
ngx_stream_ssl_module.c SSL: $ssl_curve (ticket #2135). 2021-11-01 18:09:34 +03:00
ngx_stream_ssl_module.h Stream: the "ssl_alpn" directive. 2021-10-19 12:19:59 +03:00
ngx_stream_ssl_preread_module.c Stream ssl_preread: added SSLv2 Client Hello support. 2018-07-18 18:51:25 +03:00
ngx_stream_upstream_hash_module.c Upstream hash: fall back to round-robin if hash key is empty. 2019-05-23 16:49:22 +03:00
ngx_stream_upstream_least_conn_module.c Upstream: max_conns. 2016-09-22 19:32:47 +03:00
ngx_stream_upstream_random_module.c Upstream: ngx_http_upstream_random module. 2018-06-15 11:46:14 +03:00
ngx_stream_upstream_round_robin.c Upstream: excluded down servers from the next_upstream tries. 2020-11-27 00:01:20 +03:00
ngx_stream_upstream_round_robin.h Upstream: excluded down servers from the next_upstream tries. 2020-11-27 00:01:20 +03:00
ngx_stream_upstream_zone_module.c Do not use the obsolete NGX_SOCKADDRLEN macro. 2017-09-22 13:10:49 +03:00
ngx_stream_upstream.c Upstream: revised upstream response time variables. 2018-11-21 13:40:40 +03:00
ngx_stream_upstream.h Stream: added half-close support. 2021-09-22 10:20:00 +03:00
ngx_stream_variables.c Parsing server PROXY protocol address and port (ticket #1206). 2019-10-21 20:22:30 +03:00
ngx_stream_variables.h Variables: macros for null variables. 2017-08-01 14:28:33 +03:00
ngx_stream_write_filter_module.c HTTP/2: made it possible to flush response headers (ticket #1743). 2022-02-03 01:44:38 +03:00
ngx_stream.c Stream: the "fastopen" parameter of the "listen" directive. 2021-05-20 19:59:16 +03:00
ngx_stream.h Stream: the "fastopen" parameter of the "listen" directive. 2021-05-20 19:59:16 +03:00