Use MultiSocket for websocket

This commit is contained in:
JoelKatz
2013-10-21 21:54:22 -07:00
committed by Vinnie Falco
parent a3024352ba
commit 1daf1b9932
4 changed files with 11 additions and 10 deletions

View File

@@ -250,9 +250,9 @@ public:
{
try
{
WriteLog (lsDEBUG, WSServerHandlerLog) << "Ws:: Rejected("
<< cpClient->get_socket ().remote_endpoint ().to_string ()
<< ") '" << mpMessage->get_payload () << "'";
WriteLog (lsDEBUG, WSServerHandlerLog) <<
"Ws:: Rejected(" << cpClient->get_socket ().remote_endpoint ().to_string () <<
") '" << mpMessage->get_payload () << "'";
}
catch (...)
{
@@ -302,9 +302,9 @@ public:
try
{
WriteLog (lsDEBUG, WSServerHandlerLog) << "Ws:: Receiving("
<< cpClient->get_socket ().remote_endpoint ().to_string ()
<< ") '" << mpMessage->get_payload () << "'";
WriteLog (lsDEBUG, WSServerHandlerLog) <<
"Ws:: Receiving(" << cpClient->get_socket ().remote_endpoint ().to_string () <<
") '" << mpMessage->get_payload () << "'";
}
catch (...)
{

View File

@@ -52,7 +52,7 @@ public:
}
void set_plain_only() {
m_plain_only = true;
m_plain_only = true;
}
// should be private friended?