Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

A bug about HTTP2 with createConnection options in Node.js

Notifications You must be signed in to change notification settings

fenying/nodejs-bug-code-h2-binding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

NodeJS H2 Bug About Binding TLS connection

Run index.js.

And you will see only TLS ok in Node v12.18.x, but H2 ok in v8.17.0, v10.22.0, v14.8.0

$ nvm use v10.22.0
Now using node v10.22.0 (npm v6.14.6)
$ node index.js
TLS ok
H2 ok
^C
$ nvm use v8.17.0
Now using node v8.17.0 (npm v6.13.4)
$ node index.js
TLS ok
H2 ok
^C
$ nvm use v14.8.0
Now using node v14.8.0 (npm v6.14.7)
$ node index.js
TLS ok
H2 ok
^C
$ nvm use v12.18.3
Now using node v12.18.3 (npm v6.14.6)
$ node index.js
TLS ok
^C

About

A bug about HTTP2 with createConnection options in Node.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published