spdy-http2 / node-spdy

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

Regular crashes #173

Closed fuson closed 9 years ago

fuson commented 10 years ago

Looks like:

AssertionError: false == true at Stream.parseClientRequest as _parseClientRequest at Stream.write as _write at doWrite (_stream_writable.js:226:10) at writeOrBuffer (_stream_writable.js:216:5) at Stream.Writable.write (_stream_writable.js:183:11) at ClientRequest.OutgoingMessage._flush (http.js:1053:23) at http.js:1436:10 at ClientRequest.onSocket (http.js:1775:17) at ClientRequest.g (events.js:180:16) at ClientRequest.EventEmitter.emit (events.js:117:20) at http.js:1758:9 at process._tickCallback (node.js:415:13)

indutny commented 10 years ago

May I ask you to add console.log(JSON.stringify(data + '')) after this line: https://github.com/indutny/node-spdy/blob/master/lib/spdy/stream.js#L647 ? Also is there any test case that could reproduce this problem?

indutny commented 9 years ago

I have rewritten the library from scratch. Hopefully this is gone now.