dont sweat unkknown method for client
Signed-off-by: Andy Green <andy.green@linaro.org>
This commit is contained in:
parent
5a4f3ae7d0
commit
646c98ab42
1 changed files with 2 additions and 1 deletions
|
@ -473,7 +473,8 @@ int libwebsocket_parse(struct libwebsocket *wsi, unsigned char c)
|
|||
|
||||
if (wsi->u.hdr.lextable_pos < 0) {
|
||||
/* this is not a header we know about */
|
||||
if (wsi->u.hdr.ah->frag_index[WSI_TOKEN_GET_URI]) {
|
||||
if (wsi->u.hdr.ah->frag_index[WSI_TOKEN_GET_URI] ||
|
||||
wsi->u.hdr.ah->frag_index[WSI_TOKEN_HTTP]) {
|
||||
/*
|
||||
* altready had the method, no idea what
|
||||
* this crap is, ignore
|
||||
|
|
Loading…
Add table
Reference in a new issue