diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2015-08-27 22:47:15 +0200 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2015-08-28 00:14:13 +0200 |
commit | de88255b0fb8c74e27cd5616f54d614b4e46b48d (patch) | |
tree | ac696bab827f3e431377bb0554f4be1a571408e0 /test/parallel/test-http-unix-socket.js | |
parent | 6cd0e2664b1ce944e5e461457d160be83f70d379 (diff) | |
download | android-node-v8-de88255b0fb8c74e27cd5616f54d614b4e46b48d.tar.gz android-node-v8-de88255b0fb8c74e27cd5616f54d614b4e46b48d.tar.bz2 android-node-v8-de88255b0fb8c74e27cd5616f54d614b4e46b48d.zip |
Revert "lib,src: add unix socket getsockname/getpeername"
This reverts commit 6cd0e2664b1ce944e5e461457d160be83f70d379.
This reverts commit 7a999a13766ac68049812fedbdfd15a0250f0f07.
This reverts commit f337595441641ad36f6ab8ae770e56c1673ef692.
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>
Diffstat (limited to 'test/parallel/test-http-unix-socket.js')
-rw-r--r-- | test/parallel/test-http-unix-socket.js | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/test/parallel/test-http-unix-socket.js b/test/parallel/test-http-unix-socket.js index c186906816..9ec8c8a157 100644 --- a/test/parallel/test-http-unix-socket.js +++ b/test/parallel/test-http-unix-socket.js @@ -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, |