]> git.kaiwu.me - nginx.git/commit
QUIC: switch stream context to a server selected by SNI.
authorRoman Arutyunyan <arut@nginx.com>
Tue, 29 Sep 2020 21:09:09 +0000 (22:09 +0100)
committerRoman Arutyunyan <arut@nginx.com>
Tue, 29 Sep 2020 21:09:09 +0000 (22:09 +0100)
commit1f90fccd972d3395239a7f6dea733dfe3627abc5
treea966e659fd9a97952444fdb3442c49cb80989636
parent0824d61fc9d28898e7d771825eca2880bc08df8b
QUIC: switch stream context to a server selected by SNI.

Previously the default server configuration context was used until the
:authority or host header was parsed.  This led to using the configuration
parameters like client_header_buffer_size or request_pool_size from the default
server rather than from the server selected by SNI.

Also, the switch to the right server log is implemented.  This issue manifested
itself as QUIC stream being logged to the default server log until :authority
or host is parsed.
src/http/ngx_http_request.c