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

@@ -2062,6 +2062,7 @@
<ClInclude Include="..\..\src\websocket\src\sha1\sha1.h" />
<ClInclude Include="..\..\src\websocket\src\shared_const_buffer.hpp" />
<ClInclude Include="..\..\src\websocket\src\sockets\autotls.hpp" />
<ClInclude Include="..\..\src\websocket\src\sockets\multitls.hpp" />
<ClInclude Include="..\..\src\websocket\src\sockets\plain.hpp" />
<ClInclude Include="..\..\src\websocket\src\sockets\socket_base.hpp" />
<ClInclude Include="..\..\src\websocket\src\sockets\tls.hpp" />

View File

@@ -1736,9 +1736,6 @@
<ClInclude Include="..\..\src\ripple_net\basics\RPCDoor.h">
<Filter>[2] Old Ripple\ripple_net\basics</Filter>
</ClInclude>
<ClInclude Include="..\..\src\ripple_core\functional\LoadSource.h">
<Filter>[1] Ripple\ripple_core\functional</Filter>
</ClInclude>
<ClInclude Include="..\..\src\ripple_app\main\LoadManager.h">
<Filter>[1] Ripple\ripple_app\main</Filter>
</ClInclude>
@@ -2358,6 +2355,9 @@
<ClInclude Include="..\..\src\ripple\sitefiles\api\Listener.h">
<Filter>[1] Ripple\sitefiles\api</Filter>
</ClInclude>
<ClInclude Include="..\..\src\websocket\src\sockets\multitls.hpp">
<Filter>[0] Libraries\websocket</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<CustomBuild Include="..\..\src\ripple_data\protocol\ripple.proto">

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?