mongoose/docs/c-api
Deomid Ryabkov 1e9fabe1ca Fix handling of WS handshake error response
Check response code, make sure it's 101.
Pass http_message to the client to keep it appraised.
This represents a slight change in the API -
in case of an error MG_EV_WEBSOCKET_HANDSHAKE_DONE will now be delivered where previosuly connection would just hang.
Clients that do not examine the argument may for a moment think handshake has succeeded but in fact connection will be closed immediately.

CL: mg: Fix handling of WS handshake error response

PUBLISHED_FROM=645a43d9e5bee216e54411f85827c9b974e9a7d1
2019-02-14 21:19:34 +00:00
..
mbuf.h Add mbuf_append_and_free() and mbuf_move() 2018-12-05 21:49:01 +00:00
mg_coap.h Fix mongoose docs generation 2018-02-03 01:20:48 +02:00
mg_dns_server.h Fix mongoose docs generation 2018-02-03 01:20:48 +02:00
mg_dns.h Fix mongoose docs generation 2018-02-03 01:20:48 +02:00
mg_http_client.h Fix mongoose docs generation 2018-02-03 01:20:48 +02:00
mg_http_server.h Implement mg_http_parse_header2() 2018-02-07 23:04:29 +00:00
mg_http.h Fix handling of WS handshake error response 2019-02-14 21:19:34 +00:00
mg_mqtt_server.h Fix mongoose docs generation 2018-02-03 01:20:48 +02:00
mg_mqtt.h Fix mongoose docs generation 2018-02-03 01:20:48 +02:00
mg_net.h Ensure that user sees all the data before connection is closed 2018-12-10 21:04:49 +00:00
mg_resolv.h Fix mongoose docs generation 2018-02-03 01:20:48 +02:00
mg_uri.h Fix mongoose docs generation 2018-02-03 01:20:48 +02:00
mg_util.h Add mg_url_encode_opt() 2018-04-10 11:04:31 +00:00
intro.md Fix mongoose docs generation 2018-02-03 01:20:48 +02:00