projects
/
platform
/
upstream
/
libwebsockets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c72f6f9
)
Pass URI length to LWS_CALLBACK_HTTP.
author
David Galeano
<davidgaleano@turbulenz.biz>
Thu, 10 Jan 2013 02:13:19 +0000
(10:13 +0800)
committer
Andy Green
<andy.green@linaro.org>
Thu, 10 Jan 2013 04:45:53 +0000
(12:45 +0800)
lib/handshake.c
patch
|
blob
|
history
diff --git
a/lib/handshake.c
b/lib/handshake.c
index
fda50b5
..
a844b05
100644
(file)
--- a/
lib/handshake.c
+++ b/
lib/handshake.c
@@
-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,
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;
}
return 0;
}