Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2015-08-27 23:47:15 +0300
committerBen Noordhuis <info@bnoordhuis.nl>2015-08-28 01:14:13 +0300
commitde88255b0fb8c74e27cd5616f54d614b4e46b48d (patch)
treeac696bab827f3e431377bb0554f4be1a571408e0 /src/pipe_wrap.h
parent6cd0e2664b1ce944e5e461457d160be83f70d379 (diff)
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 'src/pipe_wrap.h')
-rw-r--r--src/pipe_wrap.h3
1 files changed, 0 insertions, 3 deletions
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<v8::Value>& args);
static void Open(const v8::FunctionCallbackInfo<v8::Value>& args);
- template <int (*F)(const uv_pipe_t*, char*, size_t*)>
- static void GetSockOrPeerName(const v8::FunctionCallbackInfo<v8::Value>&);
-
#ifdef _WIN32
static void SetPendingInstances(
const v8::FunctionCallbackInfo<v8::Value>& args);