]> git.feebdaed.xyz Git - 0xmirror/nginx.git/commit
Upstream: add support for connection level ALPN protocol negotiation.
authorZhidao HONG <z.hong@f5.com>
Tue, 15 Jul 2025 14:54:21 +0000 (14:54 +0000)
committerRoman Arutyunyan <arutyunyan.roman@gmail.com>
Mon, 8 Dec 2025 03:49:16 +0000 (07:49 +0400)
commitb8492d9c25c34c87419d2ad118fa812fd72da27c
treeef64a4bbb7c45488bb4ea6d5ab66df9a3e57a2b6
parentf405ef11fde6ed749318a844c010ce97483a8f98
Upstream: add support for connection level ALPN protocol negotiation.

This commit is prepared for HTTP/2 and HTTP/3 support.

The ALPN protocol is now set per-connection in
ngx_http_upstream_ssl_init_connection(), allowing proper protocol negotiation
for each individual upstream connection regardless of SSL context sharing.
src/http/ngx_http_upstream.c
src/http/ngx_http_upstream.h