mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
tls-sessions: remove no stash warning
If there's no stash, we didn't get as far as having a session, so just fail quietly
This commit is contained in:
parent
10c1b882c6
commit
aea9d0cead
1 changed files with 1 additions and 3 deletions
|
@ -45,10 +45,8 @@ lws_tls_session_tag_from_wsi(struct lws *wsi, char *buf, size_t len)
|
|||
if (!wsi)
|
||||
return 1;
|
||||
|
||||
if (!wsi->stash) {
|
||||
lwsl_warn("%s: wsi has no stash\n", __func__);
|
||||
if (!wsi->stash)
|
||||
return 1;
|
||||
}
|
||||
|
||||
host = wsi->stash->cis[CIS_HOST];
|
||||
if (!host)
|
||||
|
|
Loading…
Add table
Reference in a new issue