]> git.kaiwu.me - nginx.git/commit
QUIC: set NGX_TCP_NODELAY_DISABLED for fake stream connections.
authorSergey Kandaurov <pluknet@nginx.com>
Wed, 22 Sep 2021 11:01:18 +0000 (14:01 +0300)
committerSergey Kandaurov <pluknet@nginx.com>
Wed, 22 Sep 2021 11:01:18 +0000 (14:01 +0300)
commit4e2e70b16cf1df40327d4633b8622e66a0986275
treecac54c88a8525ece4870170e7a5cfd1904285c47
parentb2c8e690cee3c450ffb79438f291e639c7891502
QUIC: set NGX_TCP_NODELAY_DISABLED for fake stream connections.

Notably, it is to avoid setting the TCP_NODELAY flag for QUIC streams
in ngx_http_upstream_send_response().  It is an invalid operation on
inherently SOCK_DGRAM sockets, which leads to QUIC connection close.

The change reduces diff to the default branch in stream content phase.
src/event/quic/ngx_event_quic_streams.c
src/stream/ngx_stream_core_module.c