Mercurial
diff seobeo/s_websocket_server.c @ 143:276bb3555034
Should work now.
| author | June Park <parkjune1995@gmail.com> |
|---|---|
| date | Fri, 09 Jan 2026 13:13:27 -0800 |
| parents | 893d87124d16 |
| children | 043018c0f2f8 |
line wrap: on
line diff
--- a/seobeo/s_websocket_server.c Fri Jan 09 13:09:52 2026 -0800 +++ b/seobeo/s_websocket_server.c Fri Jan 09 13:13:27 2026 -0800 @@ -76,7 +76,7 @@ return FALSE; const char *connection_value = ((Seobeo_Request_Entry*)p_connection_kv)->value; - if (!strstr(connection_value, "Upgrade")) + if (!strcasestr(connection_value, "upgrade")) return FALSE; void *p_key_kv = Dowa_HashMap_Get_Ptr(p_req_map, "Sec-WebSocket-Key");