mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
ss: server: dont allow client request_tx path even if disconnected
This commit is contained in:
parent
6a32db56bc
commit
a7c9af5ac5
1 changed files with 3 additions and 0 deletions
|
@ -899,6 +899,9 @@ lws_ss_request_tx(lws_ss_handle_t *h)
|
|||
return LWSSSSRET_OK;
|
||||
}
|
||||
|
||||
if (h->policy->flags & LWSSSPOLF_SERVER)
|
||||
return LWSSSSRET_OK;
|
||||
|
||||
/*
|
||||
* there's currently no wsi / connection associated with the ss handle
|
||||
*/
|
||||
|
|
Loading…
Add table
Reference in a new issue