We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 56967af commit 63153c5Copy full SHA for 63153c5
src/quic/node_quic_crypto.cc
@@ -560,7 +560,9 @@ Local<Value> GetALPNProtocol(const QuicSession& session) {
560
QuicCryptoContext* ctx = session.crypto_context();
561
Environment* env = session.env();
562
std::string alpn = ctx->selected_alpn();
563
- if (alpn == NGTCP2_ALPN_H3 + 1) {
+ // This supposed to be `NGTCP2_ALPN_H3 + 1`
564
+ // Details see https://github.com/nodejs/node/issues/33959
565
+ if (alpn == &NGTCP2_ALPN_H3[1]) {
566
return env->quic_alpn_string();
567
} else {
568
return ToV8Value(
0 commit comments