From de88255b0fb8c74e27cd5616f54d614b4e46b48d Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Thu, 27 Aug 2015 22:47:15 +0200 Subject: 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 --- src/pipe_wrap.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/pipe_wrap.h') diff --git a/src/pipe_wrap.h b/src/pipe_wrap.h index 6c77e355e7f..6c74de984b3 100644 --- a/src/pipe_wrap.h +++ b/src/pipe_wrap.h @@ -30,9 +30,6 @@ class PipeWrap : public StreamWrap { static void Connect(const v8::FunctionCallbackInfo& args); static void Open(const v8::FunctionCallbackInfo& args); - template - static void GetSockOrPeerName(const v8::FunctionCallbackInfo&); - #ifdef _WIN32 static void SetPendingInstances( const v8::FunctionCallbackInfo& args); -- cgit v1.2.3