]> git.kaiwu.me - nginx.git/commit
QUIC: store QUIC connection fd in stream fake connection.
authorRoman Arutyunyan <arut@nginx.com>
Mon, 6 Sep 2021 13:59:00 +0000 (16:59 +0300)
committerRoman Arutyunyan <arut@nginx.com>
Mon, 6 Sep 2021 13:59:00 +0000 (16:59 +0300)
commit465362e0664a4fe31cb5df8e757bc99b3c68f5fa
tree027033671c15f503558322d00bf4aaab38f2bd13
parent9985ab86bf0eb3a58f26d0396c1828d4a70faf03
QUIC: store QUIC connection fd in stream fake connection.

Previously it had -1 as fd.  This fixes proxying, which relies on downstream
connection having a real fd.  Also, this reduces diff to the default branch for
ngx_close_connection().
src/core/ngx_connection.c
src/event/quic/ngx_event_quic_streams.c