mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
lwsgs: handle NULL pss at ADD_HEADERS
This commit is contained in:
parent
a3bbb0a374
commit
87aff27ab1
1 changed files with 2 additions and 1 deletions
|
@ -750,7 +750,8 @@ completion_flow:
|
|||
lwsgw_expire_old_sessions(vhd);
|
||||
|
||||
args = (struct lws_process_html_args *)in;
|
||||
|
||||
if (!pss)
|
||||
return 1;
|
||||
if (pss->delete_session.id[0]) {
|
||||
pc = cookie;
|
||||
lwsgw_cookie_from_session(&pss->delete_session, 0, &pc,
|
||||
|
|
Loading…
Add table
Reference in a new issue