On error while doing a client handshake, additionally display port number next to the host name
This commit is contained in:
@ -173,7 +173,7 @@ namespace ix
|
||||
{
|
||||
std::stringstream ss;
|
||||
ss << "Expecting HTTP/1.1, got " << httpVersion << ". "
|
||||
<< "Rejecting connection to " << host
|
||||
<< "Rejecting connection to " << host << ":" << port
|
||||
<< ", status: " << status
|
||||
<< ", HTTP Status line: " << line;
|
||||
return WebSocketInitResult(false, status, ss.str());
|
||||
@ -183,7 +183,7 @@ namespace ix
|
||||
if (status != 101)
|
||||
{
|
||||
std::stringstream ss;
|
||||
ss << "Got bad status connecting to " << host
|
||||
ss << "Got bad status connecting to " << host << ":" << port
|
||||
<< ", status: " << status
|
||||
<< ", HTTP Status line: " << line;
|
||||
return WebSocketInitResult(false, status, ss.str());
|
||||
|
@ -6,4 +6,4 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#define IX_WEBSOCKET_VERSION "6.2.0"
|
||||
#define IX_WEBSOCKET_VERSION "6.2.1"
|
||||
|
Reference in New Issue
Block a user