diff options
author | Adam <Adam@anope.org> | 2010-10-01 21:01:49 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2010-10-01 21:01:49 -0400 |
commit | d44f7971b129aa7ba80999f16f17b8c7499686e1 (patch) | |
tree | a86d08c3e641ed6b499b53b3bbb74e2a7f5b0dfb /src/socketengines/socketengine_pipe.cpp | |
parent | 70056dd4689eeab4f7a9b31a921e0d7e40d5ed0d (diff) |
Rewrote some of the socket code to allow m_ssl to be a service.
This allows modules (xmlrpc) to create and accept SSL connections.
Also fixed unloading m_mysql at certain times and made the threading
engine always work correctly on Windows.
Diffstat (limited to 'src/socketengines/socketengine_pipe.cpp')
-rw-r--r-- | src/socketengines/socketengine_pipe.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/socketengines/socketengine_pipe.cpp b/src/socketengines/socketengine_pipe.cpp index b0be664c8..21a558d66 100644 --- a/src/socketengines/socketengine_pipe.cpp +++ b/src/socketengines/socketengine_pipe.cpp @@ -13,7 +13,7 @@ int Pipe::SendInternal(const Anope::string &) const return write(this->WritePipe, &dummy, 1); } -Pipe::Pipe() : Socket() +Pipe::Pipe() : BufferedSocket() { int fds[2]; if (pipe(fds)) @@ -26,7 +26,6 @@ Pipe::Pipe() : Socket() this->Sock = fds[0]; this->WritePipe = fds[1]; this->IPv6 = false; - this->Type = SOCKTYPE_CLIENT; SocketEngine->AddSocket(this); } |