spdy-http2 / node-spdy

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

don't write to push stream, if it was canceled by the browser #205

Closed hdf closed 9 years ago

hdf commented 9 years ago

How can I check if the stream was cancelled, so I don't get [Error: Write after end!] error? Or is it OK, to just ignore that kind of error?

indutny commented 9 years ago

It is the way it reports that the stream was cancelled ;) Just handle it!