summaryrefslogtreecommitdiff
path: root/HTTPcode.c
diff options
context:
space:
mode:
Diffstat (limited to 'HTTPcode.c')
-rw-r--r--HTTPcode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/HTTPcode.c b/HTTPcode.c
index 7260c8e..daeb195 100644
--- a/HTTPcode.c
+++ b/HTTPcode.c
@@ -1645,7 +1645,7 @@ int InnerProcessHTTPMessage(struct ConnectionInfo * conn)
HostPtr = strstr(MsgPtr, "Host: ");
- WebSock = strstr(MsgPtr, "Upgrade");
+ WebSock = strstr(MsgPtr, "Upgrade: websocket");
if (HostPtr)
{