Searched refs:payloadLen (Results 1 – 2 of 2) sorted by relevance
496 wsFrame.payloadLen = recvbuf[index] & 0x7f; in Decode()517 if (wsFrame.payloadLen == 126) { // 126: the payloadLen read from frame in HandleFrame()528 wsFrame.payloadLen = ntohs(msgLen); in HandleFrame()529 } else if (wsFrame.payloadLen > 126) { // 126: the payloadLen read from frame in HandleFrame()536 wsFrame.payloadLen = NetToHostLongLong(recvbuf, EXTEND_PAYLOAD_LEN); in HandleFrame()543 if (wsFrame.payloadLen == 0 || wsFrame.payloadLen > UINT64_MAX) { in DecodeMessage()546 wsFrame.payload = std::make_unique<char[]>(wsFrame.payloadLen + 1); in DecodeMessage()552 char buf[wsFrame.payloadLen + 1]; in DecodeMessage()553 …CHECK_TRUE(Recv(client_, buf, wsFrame.payloadLen, 0), false, "DecodeMessage: Recv message with mas… in DecodeMessage()554 buf[wsFrame.payloadLen] = '\0'; in DecodeMessage()[all …]
29 uint64_t payloadLen; member