mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
Coverity 189190: client: deal with NULL piggyback wsi
This commit is contained in:
parent
3c9924bf73
commit
a7db6e4fd4
1 changed files with 2 additions and 1 deletions
|
@ -474,7 +474,8 @@ create_new_conn:
|
|||
#endif
|
||||
|
||||
send_hs:
|
||||
if (!lws_dll_is_null(&wsi->dll_client_transaction_queue)) {
|
||||
if (wsi_piggy &&
|
||||
!lws_dll_is_null(&wsi->dll_client_transaction_queue)) {
|
||||
/*
|
||||
* We are pipelining on an already-established connection...
|
||||
* we can skip tls establishment.
|
||||
|
|
Loading…
Add table
Reference in a new issue