spdy-http2 / node-spdy

SPDY server on Node.js
2.81k stars 196 forks source link

Agent emits connection level errors. #354

Closed AdamMagaluk closed 5 years ago

AdamMagaluk commented 5 years ago

This builds on https://github.com/spdy-http2/node-spdy/pull/295 and adds a test case.

A spdy-transport/Connection is created by the Agent but no error handler is created for that EventEmitter. Ensure the Agent passes those errors to the Agent's EventEmitter to allow clients to catch errors.