1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-30 00:00:16 +01:00
libwebsockets/lib/roles/http/client
Olivier Langlois b6824c88fd http: allow receiving body in case ws upgrade failed
Process HTTP headers related to content length for ws connections
and make 1 callback before continuing to the ws upgrade code.
This gives one last opportunity to ws protocols to inspect server reply
before the ws upgrade code discard it. ie: download reply body in case
of any other response code than 101.
2020-03-07 21:07:54 +00:00
..
client-handshake.c client: unify post tls accept handling 2020-03-07 20:03:58 +00:00
client-http.c http: allow receiving body in case ws upgrade failed 2020-03-07 21:07:54 +00:00