mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-30 00:00:16 +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. |
||
---|---|---|
.. | ||
mbedtls | ||
openssl | ||
CMakeLists.txt | ||
lws-gencrypto-common.c | ||
lws-genec-common.c | ||
private-jit-trust.h | ||
private-lib-tls.h | ||
private-network.h | ||
tls-client.c | ||
tls-jit-trust.c | ||
tls-network.c | ||
tls-server.c | ||
tls-sessions.c | ||
tls.c |