Mercurial > hg > nginx
comparison src/http/modules/ngx_http_ssl_module.c @ 8918:606bf52888d2 quic
HTTP/3: adjusted ALPN macro names to align with 61abb35bb8cf.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Thu, 02 Dec 2021 13:59:09 +0300 |
parents | 61d0fa67b55e |
children | 33226ac61076 |
comparison
equal
deleted
inserted
replaced
8917:bb1d1d9d76e2 | 8918:606bf52888d2 |
---|---|
453 #endif | 453 #endif |
454 #if (NGX_HTTP_QUIC) | 454 #if (NGX_HTTP_QUIC) |
455 if (hc->addr_conf->quic) { | 455 if (hc->addr_conf->quic) { |
456 #if (NGX_HTTP_V3) | 456 #if (NGX_HTTP_V3) |
457 if (hc->addr_conf->http3) { | 457 if (hc->addr_conf->http3) { |
458 srv = (unsigned char *) NGX_HTTP_V3_ALPN_ADVERTISE; | 458 srv = (unsigned char *) NGX_HTTP_V3_ALPN_PROTO; |
459 srvlen = sizeof(NGX_HTTP_V3_ALPN_ADVERTISE) - 1; | 459 srvlen = sizeof(NGX_HTTP_V3_ALPN_PROTO) - 1; |
460 fmt = NGX_HTTP_V3_ALPN_DRAFT_FMT; | 460 fmt = NGX_HTTP_V3_ALPN_DRAFT_FMT; |
461 | 461 |
462 } else | 462 } else |
463 #endif | 463 #endif |
464 { | 464 { |
465 srv = (unsigned char *) NGX_HTTP_QUIC_ALPN_ADVERTISE; | 465 srv = (unsigned char *) NGX_HTTP_QUIC_ALPN_PROTO; |
466 srvlen = sizeof(NGX_HTTP_QUIC_ALPN_ADVERTISE) - 1; | 466 srvlen = sizeof(NGX_HTTP_QUIC_ALPN_PROTO) - 1; |
467 fmt = NGX_HTTP_QUIC_ALPN_DRAFT_FMT; | 467 fmt = NGX_HTTP_QUIC_ALPN_DRAFT_FMT; |
468 } | 468 } |
469 | 469 |
470 /* QUIC draft */ | 470 /* QUIC draft */ |
471 | 471 |