rahulramesha / http2-express-bridge

wrapper for express app to work with http2 protocol
MIT License
31 stars 6 forks source link

Fix: Correctly get alpnProtocol #9

Open shahmirn opened 1 year ago

shahmirn commented 1 year ago

for insecure createServer imported from http2, so that h2c works correctly.

Old code was causing the protocol to return null when createServer was used.

New code works in node 16 for both createServer and createSecureServer

shahmirn commented 1 year ago

@rahulramesha could you take a look when you get a chance?

Thanks!

victor-homyakov commented 1 month ago

@rahulramesha ping?