Open smartprix opened 8 years ago
Right now, if an error occurs in the endpoint, it is not being handled and as a result the whole process crashes.
https://github.com/molnarg/node-http2/blob/master/lib/http.js#L998
Adding an endpoint.on('error') handler should fix that.
endpoint.on('error')
Right now, if an error occurs in the endpoint, it is not being handled and as a result the whole process crashes.
https://github.com/molnarg/node-http2/blob/master/lib/http.js#L998
Adding an
endpoint.on('error')
handler should fix that.