]> git.kaiwu.me - nginx.git/commit
Stream: allow waiting on a blocked QUIC stream (ticket #2479).
authorRoman Arutyunyan <arut@nginx.com>
Thu, 6 Apr 2023 11:39:48 +0000 (15:39 +0400)
committerRoman Arutyunyan <arut@nginx.com>
Thu, 6 Apr 2023 11:39:48 +0000 (15:39 +0400)
commitcc00acfe74237710163eec7aeb89cc7374441af4
treedc8dd696329e90b39e33c93a8282f97b0fab6ec0
parentba15b2af1bc130725a1069c5c263779db350e9b0
Stream: allow waiting on a blocked QUIC stream (ticket #2479).

Previously, waiting on a shared connection was not allowed, because the only
type of such connection was plain UDP.  However, QUIC stream connections are
also shared since they share socket descriptor with the listen connection.
Meanwhile, it's perfectly normal to wait on such connections.

The issue manifested itself with stream write errors when the amount of data
exceeded stream buffer size or flow control.  Now no error is triggered
and Stream write module is allowed to wait for buffer space to become available.
src/stream/ngx_stream_write_filter_module.c