molnarg / node-http2

An HTTP/2 client and server implementation for node.js
MIT License
1.79k stars 185 forks source link

Receive GOAWAY #190

Open fmoraes74 opened 8 years ago

fmoraes74 commented 8 years ago

In testing some server implementation, I was forcing a connection with a bad security cipher which the server rejects with GOAWAY INADEQUATE SECURITY but I don't see a way to find that out in node-http2. Is it possible?

nwgh commented 8 years ago

There is currently no way in the http/2 client code to notice GOAWAY/INADEQUATE_SECURITY (at least, no easy way). This would be a decent enhancement/feature, but not a high-priority one.