diff options
author | Adam <Adam@anope.org> | 2012-11-01 13:32:38 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2012-11-01 14:47:23 -0400 |
commit | 90930619bc124e94bac5048c0b13c3f4748b559d (patch) | |
tree | cbe2325f6295aa188a6dd0f0d56d336eab060bbe /src/socket_clients.cpp | |
parent | 5b1c8230191fa626ef9210c5035f14a8df4c0ed6 (diff) |
Fixed quite a bit of dumbness with m_ssl. Had to
modify socketengines to allow polling for write &
no read, but is it cleaner now. Made m_httpd able
to listen using SSL.
Diffstat (limited to 'src/socket_clients.cpp')
-rw-r--r-- | src/socket_clients.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/socket_clients.cpp b/src/socket_clients.cpp index 4d3a1e3ee..44d4b873a 100644 --- a/src/socket_clients.cpp +++ b/src/socket_clients.cpp @@ -56,8 +56,9 @@ void ConnectionSocket::OnConnect() { } -void ConnectionSocket::OnError(const Anope::string &) +void ConnectionSocket::OnError(const Anope::string &error) { + Log(LOG_DEBUG) << "Socket error: " << error; } ClientSocket::ClientSocket(ListenSocket *ls, const sockaddrs &addr) : LS(ls), clientaddr(addr) @@ -97,5 +98,6 @@ void ClientSocket::OnAccept() void ClientSocket::OnError(const Anope::string &error) { + Log(LOG_DEBUG) << "Socket error: " << error; } |