mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
http: redirect: keep ssl options at redirect
This commit is contained in:
parent
f2e43272a7
commit
0d9acf7a31
1 changed files with 1 additions and 1 deletions
|
@ -956,7 +956,7 @@ __lws_close_free_wsi_final(struct lws *wsi)
|
|||
//_lws_header_table_reset(wsi->http.ah);
|
||||
|
||||
#if defined(LWS_WITH_TLS)
|
||||
wsi->tls.use_ssl = wsi->flags & LCCSCF_USE_SSL;
|
||||
wsi->tls.use_ssl = (unsigned int)wsi->flags;
|
||||
#endif
|
||||
|
||||
#if defined(LWS_WITH_TLS_JIT_TRUST)
|
||||
|
|
Loading…
Add table
Reference in a new issue