projects
/
profile
/
ivi
/
libwebsockets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08d3392
)
make origin optional on server
author
Andy Green
<andy@warmcat.com>
Sat, 26 Feb 2011 10:28:15 +0000
(10:28 +0000)
committer
Andy Green
<andy@warmcat.com>
Sat, 26 Feb 2011 10:28:15 +0000
(10:28 +0000)
Signed-off-by: Andy Green <andy@warmcat.com>
lib/handshake.c
patch
|
blob
|
history
diff --git
a/lib/handshake.c
b/lib/handshake.c
index
90219a2
..
d1df77a
100644
(file)
--- a/
lib/handshake.c
+++ b/
lib/handshake.c
@@
-240,8
+240,7
@@
handshake_0405(struct libwebsocket *wsi)
int nonce_len;
int accept_len;
- if (!wsi->utf8_token[WSI_TOKEN_SWORIGIN].token_len ||
- !wsi->utf8_token[WSI_TOKEN_HOST].token_len ||
+ if (!wsi->utf8_token[WSI_TOKEN_HOST].token_len ||
!wsi->utf8_token[WSI_TOKEN_KEY].token_len) {
debug("handshake_04 missing pieces\n");
/* completed header processing, but missing some bits */