mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
Pass URI length to LWS_CALLBACK_HTTP.
This commit is contained in:
parent
c72f6f9fa0
commit
584b316700
1 changed files with 2 additions and 1 deletions
|
@ -588,7 +588,8 @@ libwebsocket_read(struct libwebsocket_context *context,
|
|||
if (wsi->protocol->callback)
|
||||
(wsi->protocol->callback)(context, wsi,
|
||||
LWS_CALLBACK_HTTP, wsi->user_space,
|
||||
wsi->utf8_token[WSI_TOKEN_GET_URI].token, 0);
|
||||
wsi->utf8_token[WSI_TOKEN_GET_URI].token,
|
||||
wsi->utf8_token[WSI_TOKEN_GET_URI].token_len);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue