1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-27 05:16:38 +02:00

relay: add support of Internet Explorer websocket (closes #73)

This commit is contained in:
Sébastien Helleu
2014-05-07 07:39:40 +02:00
parent 17d21cd97a
commit bbea2940b7
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -145,7 +145,7 @@ relay_websocket_client_handshake_valid (struct t_relay_client *client)
value = weechat_hashtable_get (client->http_headers, "Upgrade");
if (!value)
return -1;
if (strcmp (value, "websocket") != 0)
if (weechat_strcasecmp (value, "websocket") != 0)
return -1;
/* check if we have header "Sec-WebSocket-Key" with non-empty value */