The official NGINX Open Source repository.
Go to file
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
auto Core: added autotest for UDP segmentation offloading. 2022-01-26 20:40:00 +03:00
conf MIME: added image/avif type. 2021-10-25 20:49:15 +03:00
contrib Contrib: vim syntax adjusted to save cpoptions (ticket #2276). 2022-01-22 00:28:51 +03:00
docs nginx-1.21.6-RELEASE 2022-01-25 18:03:51 +03:00
misc Updated OpenSSL and PCRE used for win32 builds. 2021-12-28 17:56:16 +03:00
src HTTP/2: made it possible to flush response headers (ticket #1743). 2022-02-03 01:44:38 +03:00
.hgtags release-1.21.6 tag 2022-01-25 18:03:52 +03:00