1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-23 00:00:06 +01:00
libwebsockets/lib
Oleg Golosovskiy 2ef75057cd http charsets have case insensitive tokens
Andy,

According http://www.ietf.org/rfc/rfc2616.txt HTTP character sets are identified by case-insensitive tokens.

Please replase

                     if (strcmp(lws_tokens[n].token, wsi->name_buffer))
                           continue;

to

                     if (stricmp(lws_tokens[n].token, wsi->name_buffer))
                           continue;

Oleg

Also introduce strcasecmp definition for win32

Signed-off-by: Oleg Golosovskiy <ogolosovskiy@unison.com>
2011-10-04 20:20:14 +08:00
..
base64-decode.c remove line end at 72 for base64 encode 2011-05-14 15:08:00 +02:00
client-handshake.c Fixed compiler warnings. 2011-09-26 12:09:54 +01:00
extension-deflate-stream.c introduce x google mux very draft indeed 2011-05-23 10:00:03 +01:00
extension-deflate-stream.h pass ext pointer in ext callback 2011-03-22 09:04:01 +00:00
extension-x-google-mux.c extensions fix deflate stream vs mux and veto it on mux children 2011-05-28 10:19:19 +01:00
extension-x-google-mux.h x google mux handle illegal channel add indexes cleanup handle ch1 rx 2011-05-26 12:59:13 +01:00
extension.c introduce x google mux very draft indeed 2011-05-23 10:00:03 +01:00
handshake.c v08v13 add support v13 default 2011-09-25 09:32:54 +01:00
libwebsockets.c Added support for Windows XP. 2011-10-04 19:55:18 +08:00
libwebsockets.h http charsets have case insensitive tokens 2011-10-04 20:20:14 +08:00
Makefile.am introduce x google mux very draft indeed 2011-05-23 10:00:03 +01:00
Makefile.in introduce x google mux very draft indeed 2011-05-23 10:00:03 +01:00
md5.c introduce-private-md5-sha1.patch 2011-01-23 17:47:08 +00:00
parsers.c http charsets have case insensitive tokens 2011-10-04 20:20:14 +08:00
private-libwebsockets.h v08v13 add support v13 default 2011-09-25 09:32:54 +01:00
sha-1.c Added BYTE_ORDER definition for win32 builds. 2011-10-03 19:30:27 +08:00