mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-23 00:00:06 +01:00
![]() Until now although we can follow redirects, and they can promote the protocol from h1->h2, we couldn't handle h2 wsi reuse since there are many states in the wsi affected by being h2. This wipes the related states in lws_wsi_reset() and follows the generic wsi close flow before deviating into the redirect really close to the end, ensuring we cleaned out evidence of our previous life properly. h2->h2 redirects work properly after this. The max number of redirects is increased from 3 -> 4 since this was seen in the wild with www and then geographic-based redirects. |
||
---|---|---|
.. | ||
minimal-http-client | ||
minimal-http-client-attach | ||
minimal-http-client-captive-portal | ||
minimal-http-client-certinfo | ||
minimal-http-client-custom-headers | ||
minimal-http-client-h2-rxflow | ||
minimal-http-client-hugeurl | ||
minimal-http-client-jit-trust | ||
minimal-http-client-multi | ||
minimal-http-client-post | ||
README.md |
name | demonstrates |
---|---|
minimal-http-client-certinfo | Shows how to gain detailed information on the peer certificate |
minimal-http-client-custom-headers | Shows how to send and receive custom headers (h1 only) |
minimal-http-client-hugeurl | Sends a > 2.5KB URL to warmcat.com |
minimal-http-client-multi | Connects to and reads https://warmcat.com, 8 times concurrently |
minimal-http-client-post | POSTs a form containing an uploaded file and a form variable, and captures the response |
minimal-http-client | Connects to and reads https://warmcat.com |