1
0
Fork 0
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:
Andy Green 2021-03-14 12:13:28 +00:00
parent 546c151555
commit 4df5e015ed

View file

@ -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