formatHandshakeFailureReason 305 Source/modules/websockets/WebSocketHandshake.cpp m_failureReason = formatHandshakeFailureReason("Unexpected response code: " + String::number(statusCode)); formatHandshakeFailureReason 410 Source/modules/websockets/WebSocketHandshake.cpp m_failureReason = formatHandshakeFailureReason("Status line contains embedded null"); formatHandshakeFailureReason 422 Source/modules/websockets/WebSocketHandshake.cpp m_failureReason = formatHandshakeFailureReason("Status line is too long"); formatHandshakeFailureReason 428 Source/modules/websockets/WebSocketHandshake.cpp m_failureReason = formatHandshakeFailureReason("Status line does not end with CRLF"); formatHandshakeFailureReason 433 Source/modules/websockets/WebSocketHandshake.cpp m_failureReason = formatHandshakeFailureReason("No response code found in status line: " + trimInputSample(header, lineLength - 2)); formatHandshakeFailureReason 442 Source/modules/websockets/WebSocketHandshake.cpp m_failureReason = formatHandshakeFailureReason("Invalid status code: " + statusCodeString); formatHandshakeFailureReason 478 Source/modules/websockets/WebSocketHandshake.cpp m_failureReason = formatHandshakeFailureReason(m_extensionDispatcher.failureReason()); formatHandshakeFailureReason 483 Source/modules/websockets/WebSocketHandshake.cpp m_failureReason = formatHandshakeFailureReason("'Sec-WebSocket-Accept' header must not appear more than once in a response"); formatHandshakeFailureReason 490 Source/modules/websockets/WebSocketHandshake.cpp m_failureReason = formatHandshakeFailureReason("'Sec-WebSocket-Protocol' header must not appear more than once in a response"); formatHandshakeFailureReason 514 Source/modules/websockets/WebSocketHandshake.cpp m_failureReason = formatHandshakeFailureReason("'Upgrade' header is missing"); formatHandshakeFailureReason 518 Source/modules/websockets/WebSocketHandshake.cpp m_failureReason = formatHandshakeFailureReason("'Connection' header is missing"); formatHandshakeFailureReason 522 Source/modules/websockets/WebSocketHandshake.cpp m_failureReason = formatHandshakeFailureReason("'Sec-WebSocket-Accept' header is missing"); formatHandshakeFailureReason 527 Source/modules/websockets/WebSocketHandshake.cpp m_failureReason = formatHandshakeFailureReason("'Upgrade' header value is not 'WebSocket': " + serverUpgrade); formatHandshakeFailureReason 531 Source/modules/websockets/WebSocketHandshake.cpp m_failureReason = formatHandshakeFailureReason("'Connection' header value is not 'Upgrade': " + serverConnection); formatHandshakeFailureReason 536 Source/modules/websockets/WebSocketHandshake.cpp m_failureReason = formatHandshakeFailureReason("Incorrect 'Sec-WebSocket-Accept' header value"); formatHandshakeFailureReason 541 Source/modules/websockets/WebSocketHandshake.cpp m_failureReason = formatHandshakeFailureReason("Response must not include 'Sec-WebSocket-Protocol' header if not present in request: " + serverWebSocketProtocol); formatHandshakeFailureReason 547 Source/modules/websockets/WebSocketHandshake.cpp m_failureReason = formatHandshakeFailureReason("'Sec-WebSocket-Protocol' header value '" + serverWebSocketProtocol + "' in response does not match any of sent values"); formatHandshakeFailureReason 562 Source/modules/websockets/WebSocketHandshake.cpp m_failureReason = formatHandshakeFailureReason("Sent non-empty 'Sec-WebSocket-Protocol' header but no response was received");