spdy-http2 / node-spdy

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

stream: add err.code for RST_STREAM #151

Closed jonathanong closed 10 years ago

jonathanong commented 10 years ago

not sure if this is how you'd like it. i'm also not sure how important the frame status is.

basically, i want to filter out any RST_STREAMs from my error logs. these aren't errors to me since i plan to have my client destroy pushes very frequently. i could search err.message but i don't like doing that.

jonathanong commented 10 years ago

i also want to do similar with the "write after end" error. what do you think?

jonathanong commented 10 years ago

how about ECONNRESET for Socket hangup? make it match node more

indutny commented 10 years ago

Ok, it needs test, I think. Could you please add it?

indutny commented 10 years ago

Ah, on other hand. Landed in 8dfa5e8