Skip to content
This repository has been archived by the owner on Aug 11, 2020. It is now read-only.

quic: stringify NGTCP2_ALPN_H3 constant #285

Closed
wants to merge 1 commit into from
Closed

quic: stringify NGTCP2_ALPN_H3 constant #285

wants to merge 1 commit into from

Conversation

danbev
Copy link
Contributor

@danbev danbev commented Jan 15, 2020

Currently, the constant NGTCP2_ALPN_H3 is not being set correctly:

 AF_INET: 2,
 AF_INET6: 30,
 '\x05h3-24': '\x05h3-24'

This commit stringifies the constant name so that this becomes:

 AF_INET: 2,
 AF_INET6: 30,
 NGTCP2_ALPN_H3: '\x05h3-24'

This was causing the test-quic-binding.js test to fail.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

Currently, the constant NGTCP2_ALPN_H3 is not being set correctly:

 AF_INET: 2,
 AF_INET6: 30,
 '\x05h3-24': '\x05h3-24'

This commit stringifies the constant name so that this becomes:

 AF_INET: 2,
 AF_INET6: 30,
 NGTCP2_ALPN_H3: '\x05h3-24'

This was causing the test-quic-binding.js test to fail.
jasnell pushed a commit that referenced this pull request Jan 15, 2020
Currently, the constant NGTCP2_ALPN_H3 is not being set correctly:

 AF_INET: 2,
 AF_INET6: 30,
 '\x05h3-24': '\x05h3-24'

This commit stringifies the constant name so that this becomes:

 AF_INET: 2,
 AF_INET6: 30,
 NGTCP2_ALPN_H3: '\x05h3-24'

This was causing the test-quic-binding.js test to fail.

PR-URL: #285
Reviewed-By: James M Snell <[email protected]>
@jasnell
Copy link
Member

jasnell commented Jan 15, 2020

Landed

@jasnell jasnell closed this Jan 15, 2020
jasnell pushed a commit to jasnell/quic that referenced this pull request Feb 3, 2020
Currently, the constant NGTCP2_ALPN_H3 is not being set correctly:

 AF_INET: 2,
 AF_INET6: 30,
 '\x05h3-24': '\x05h3-24'

This commit stringifies the constant name so that this becomes:

 AF_INET: 2,
 AF_INET6: 30,
 NGTCP2_ALPN_H3: '\x05h3-24'

This was causing the test-quic-binding.js test to fail.

PR-URL: nodejs#285
Reviewed-By: James M Snell <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants