Mercurial > hg > nginx
diff src/event/quic/ngx_event_quic.c @ 8979:3d0fc72d409e quic
HTTP/3: removed draft versions support in ALPN.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Wed, 26 Jan 2022 14:15:40 +0300 |
parents | c37ea624c307 |
children | d8865baab732 |
line wrap: on
line diff
--- a/src/event/quic/ngx_event_quic.c +++ b/src/event/quic/ngx_event_quic.c @@ -1477,15 +1477,3 @@ ngx_quic_shutdown_quic(ngx_connection_t } -uint32_t -ngx_quic_version(ngx_connection_t *c) -{ - uint32_t version; - ngx_quic_connection_t *qc; - - qc = ngx_quic_get_connection(c); - - version = qc->version; - - return (version & 0xff000000) == 0xff000000 ? version & 0xff : version; -}