You can clone with
HTTPS or Subversion.
The net module leaks the global variable errno with a value of EOF after a connection has successfully written and then was closed. This exists in v0.6.x and v0.7.x
with no write:
> var net = require('net');
> var conn = net.createConnection(1337, '18.104.22.168');
ReferenceError: errno is not defined
and after a write:
> var net = require('net')
> var conn = net.createConnection(1337, '127.0.0.1');
Yes, known issue. It's not just the net module that does it. It's scheduled to be reworked but it might not make the cut for v0.8.
Yes, let's put this off until v0.9. That release will be all about polishing the API surface. v0.8 is about refactoring things to make debugging easier, and removing access to errno does not do that.
I just caught this with QUnit.config.noglobals = true;
QUnit.config.noglobals = true;
Now it sounds more friendly to me like what to expect in 0.8 and future versions.
lib, src: remove errno global
Remove the errno global. It's a property on the process object now.