This repository has been archived by the owner. It is now read-only.

Error: CryptoStream is not writable #820

mranney opened this Issue Mar 21, 2011 · 1 comment


None yet
2 participants

mranney commented Mar 21, 2011

After calling req.socket.destroy() on an HTTPS connection:

Error: CryptoStream is not writable
    at EncryptedStream.end (tls.js:172:11)
    at Socket.onend (stream.js:55:12)
    at Socket.emit (events.js:61:17)
    at Socket._onReadable (net.js:651:51)
    at IOWatcher.onReadable [as callback] (net.js:177:10)

This only happens occasionally on a busy server, so I'm not sure exactly how to reproduce.


This comment has been minimized.

Show comment Hide comment

ry Mar 21, 2011

fixed by 7e28630

ry commented Mar 21, 2011

fixed by 7e28630

@ry ry closed this Mar 21, 2011

coolaj86 pushed a commit that referenced this issue Apr 15, 2011

Fix GH-820. CryptoStream.end shouldn't throw if not writable
This matches the behavior of net.Socket
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.