mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
ss-hx: make sure hanging_some handled once
This commit is contained in:
parent
097bbbd1eb
commit
094bfc4e99
1 changed files with 3 additions and 1 deletions
|
@ -705,8 +705,10 @@ malformed:
|
|||
|
||||
case LWS_CALLBACK_COMPLETED_CLIENT_HTTP:
|
||||
lwsl_debug("%s: LWS_CALLBACK_COMPLETED_CLIENT_HTTP\n", __func__);
|
||||
if (h->hanging_som)
|
||||
if (h->hanging_som) {
|
||||
h->info.rx(ss_to_userobj(h), NULL, 0, LWSSS_FLAG_EOM);
|
||||
h->hanging_som = 0;
|
||||
}
|
||||
|
||||
wsi->http.writeable_len = h->writeable_len = 0;
|
||||
lws_sul_cancel(&h->sul_timeout);
|
||||
|
|
Loading…
Add table
Reference in a new issue