1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-25 04: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
View File
@@ -123,6 +123,7 @@ http://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
* lua: fix interpreter used after unload of a script
* perl: fix context used after unload of a script
* python: fix interpreter used after unload of a script
* relay: add support of Internet Explorer websocket (closes #73)
* relay: add messages "_buffer_hidden" and "_buffer_unhidden"
* relay: fix crash on /upgrade received from a client (weechat protocol)
* relay: add info "relay_client_count" with optional status name as argument
+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 */