joyent/node — Issue #1911: Error on unexpected net.socket exit
Author: marcelklehr
Created: 2011-10-19 10:06:38+00:00
State: open

Node v0.5.9 throws an Error if a TCP socket exits unexpectedly, for example, if node is used on the other side, when the other instance throws an error and quits:

```
node.js:207
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: read UNKNOWN
at errnoException (net_uv.js:566:11)
at TCP.onread (net_uv.js:330:20)
```

This error occured to me on Windows 7 32bit, but I expect it to occur un linux, too.
Try it yourself: http://gist.github.com/1280896