mirror of
https://github.com/nodejs/node.git
synced 2025-08-15 13:48:44 +02:00
Revert "lib,src: add unix socket getsockname/getpeername"
This reverts commit6cd0e2664b
. This reverts commit7a999a1376
. This reverts commitf337595441
. 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:
parent
6cd0e2664b
commit
de88255b0f
8 changed files with 15 additions and 65 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue