mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
Fix HTTP Head method that not signal LWS_CALLBACK_COMPLETED_CLIENT_HTTP
Signed-off-by: stropee <simon@sirocha.fr>
This commit is contained in:
parent
efa6221216
commit
9fac6fc1dd
1 changed files with 1 additions and 1 deletions
|
@ -1376,7 +1376,7 @@ lws_client_interpret_server_handshake(struct lws *wsi)
|
|||
*/
|
||||
if (!wsi->mux_substream && !wsi->client_mux_substream &&
|
||||
lws_hdr_total_length(wsi, WSI_TOKEN_HTTP_CONTENT_LENGTH) &&
|
||||
!wsi->http.rx_content_length)
|
||||
(!wsi->http.rx_content_length || !strcmp(lws_hdr_simple_ptr(wsi, _WSI_TOKEN_CLIENT_METHOD),"HEAD")))
|
||||
return !!lws_http_transaction_completed_client(wsi);
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Reference in a new issue