]> git.kaiwu.me - nginx.git/commit
QUIC: set c->socklen for streams.
authorRoman Arutyunyan <arut@nginx.com>
Thu, 27 Apr 2023 15:49:05 +0000 (19:49 +0400)
committerRoman Arutyunyan <arut@nginx.com>
Thu, 27 Apr 2023 15:49:05 +0000 (19:49 +0400)
commita4319bc496264f94ea8a85702d9b5b8098d9d18c
tree9523a66743c86afd65751ed7a8b9d7b27afe3fd0
parent906e3b5dca2352ba3799b41b181a3ca617dc3329
QUIC: set c->socklen for streams.

Previously, the value was not set and remained zero.  While in nginx code the
value of c->sockaddr is accessed without taking c->socklen into account,
invalid c->socklen could lead to unexpected results in third-party modules.
src/event/quic/ngx_event_quic_streams.c