mirror of
https://github.com/RGBCube/serenity
synced 2025-10-24 04:02:34 +00:00
According to RFC 6455 sections 5.5.2-5.5.3 Ping and Pong frames can have empty "Application data" that means payload can be of size 0. This change fixes failed "buffer.size()" assertion inside of Core::Stream::write_or_error by not trying to send empty payload in WebSocket::send_frame. |
||
|---|---|---|
| .. | ||
| Impl | ||
| CMakeLists.txt | ||
| ConnectionInfo.cpp | ||
| ConnectionInfo.h | ||
| Message.h | ||
| WebSocket.cpp | ||
| WebSocket.h | ||