Improve websocket implementation

CL: Mongoose Web Server: Websocket: Respond to Ping with Pong
CL: Mongoose Web Server: Websocket: Properly close a connection with Close frame (in response to a client's close and when protocol failure is detected)
CL: Mongoose Web Server: Websocket: Fix support of fragmented messages
CL: Mongoose Web Server: Websocket: Add support for control frames interjected in the middle of a fragmented message

PUBLISHED_FROM=e2b3794aaacc64633540c493194cccc62afa2077
This commit is contained in:
Dmitry Frank authored and Cesanta Bot committed 2018-02-01 13:20:19 +00:00
1 parent ce8657f12f
commit 7519b2ef3a
3 files changed
+145 -59

No files matched your search

@@ -7,8 +7,6 @@ signature: |
const struct mg_str *strings, int num_strings);
---
Sends multiple websocket frames.
Like `mg_send_websocket_frame()`, but composes a frame from multiple
*buffers.
Like `mg_send_websocket_frame()`, but composes a single frame from multiple
buffers.