]> git.kaiwu.me - nginx.git/commit
Stream: fixed segfault when using SSL certificates with variables.
authorSergey Kandaurov <pluknet@nginx.com>
Wed, 29 Sep 2021 12:06:28 +0000 (15:06 +0300)
committerSergey Kandaurov <pluknet@nginx.com>
Wed, 29 Sep 2021 12:06:28 +0000 (15:06 +0300)
commit3c31d3f42129689c5d8837d94fad0e44db9129a8
treeaab60c31d4bb1b3072ace5831dd0cdde12cd71e5
parentdab6035d68f3dd3f212393635c193c7aefea0d65
Stream: fixed segfault when using SSL certificates with variables.

Similar to the previous change, a segmentation fault occurres when evaluating
SSL certificates on a QUIC connection due to an uninitialized stream session.
The fix is to adjust initializing the QUIC part of a connection until after
it has session and variables initialized.

Similarly, this appends logging error context for QUIC connections:
- client 127.0.0.1:54749 connected to 127.0.0.1:8880 while handling frames
- quic client timed out (60: Operation timed out) while handling quic input
src/stream/ngx_stream_handler.c