Revert "lib,src: add unix socket getsockname/getpeername"

This reverts commit 6cd0e2664b.
This reverts commit 7a999a1376.
This reverts commit f337595441.

It turns out that on Windows, uv_pipe_getsockname() is a no-op for
client sockets.  It slipped through testing because of a CI snafu.

PR-URL: https://github.com/nodejs/node/pull/2584
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
This commit is contained in:
Ben Noordhuis 2015-08-27 22:47:15 +02:00
parent 6cd0e2664b
commit de88255b0f
8 changed files with 15 additions and 65 deletions

View file

@ -9,7 +9,6 @@ var headers_ok = false;
var body_ok = false;
var server = http.createServer(function(req, res) {
assert.equal(req.socket.address().address, common.PIPE);
res.writeHead(200, {
'Content-Type': 'text/plain',
'Connection': 'close'
@ -20,7 +19,6 @@ var server = http.createServer(function(req, res) {
});
server.listen(common.PIPE, function() {
assert.equal(server.address().address, common.PIPE);
var options = {
socketPath: common.PIPE,