mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
ssproxy: deal with lack of policy when replying with stream denied
This commit is contained in:
parent
546c151555
commit
4df5e015ed
1 changed files with 3 additions and 1 deletions
|
@ -493,7 +493,9 @@ callback_ss_proxy(struct lws *wsi, enum lws_callback_reasons reason,
|
|||
|
||||
n = 8;
|
||||
|
||||
lws_ser_wu32be((uint8_t *)&s[4], conn->ss ? conn->ss->policy->client_buflen : 0);
|
||||
lws_ser_wu32be((uint8_t *)&s[4], conn->ss &&
|
||||
conn->ss->policy ?
|
||||
conn->ss->policy->client_buflen : 0);
|
||||
|
||||
/*
|
||||
* If there's rideshare sequencing, it's added after the
|
||||
|
|
Loading…
Add table
Reference in a new issue