Ping and Pong messages cannot be fragmented (autobahn test: 5.1 and 5.2 Fragmentation)

This commit is contained in:
Benjamin Sergeant
2019-09-02 10:13:40 -07:00
parent 94c8966e86
commit cbe3e7617c
5 changed files with 27 additions and 5 deletions

View File

@ -21,4 +21,6 @@ namespace ix
const std::string WebSocketCloseConstants::kProtocolErrorMessage("Protocol error");
const std::string WebSocketCloseConstants::kNoStatusCodeErrorMessage("No status code");
const std::string WebSocketCloseConstants::kProtocolErrorReservedBitUsed("Reserved bit used");
const std::string WebSocketCloseConstants::kProtocolErrorPingPayloadOversized("Ping reason control frame with payload length > 125 octets");
const std::string WebSocketCloseConstants::kProtocolErrorCodeControlMessageFragmented("Control message fragmented");
}