mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Use MultiSocket for websocket
This commit is contained in:
@@ -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" />
|
||||
|
||||
@@ -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">
|
||||
|
||||
@@ -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 (...)
|
||||
{
|
||||
|
||||
@@ -52,7 +52,7 @@ public:
|
||||
}
|
||||
|
||||
void set_plain_only() {
|
||||
m_plain_only = true;
|
||||
m_plain_only = true;
|
||||
}
|
||||
|
||||
// should be private friended?
|
||||
|
||||
Reference in New Issue
Block a user