libwebsockets/test-server
Stephan Eberle b820e2c2cc Implemented fixes allowing libwebsockets to be built under Windows using MinGM/MSYS
Improvemed patches to address travis and appveyor build errors

Reduced WINVER and _WIN32_WINNT to 0x0501 to be less restrictive

Refined CMakeLists.txt to allow for normal Windows and MinGW-specific OpenSSL certificate generation

Simplified include path to gettimeofday.h

Removed unnecessary list(APPEND LWS_LIBRARIES zlib_internal) export

Added back #include <windows.h> to gettimeofday.c to fix build for normal Windows

Made sure that pollfd gets defined on libwebsockets side when _WIN32_WINNT < 0x0600

Made sure that WINVER and _WIN32_WINNT don't get overridden by libwebsockets headers when already set to something greater than 0x0501

Added missing declaration of WSAPoll function for WINVER < 0x0600 in libwebsockets.h, eliminated invalid usages of pollfd instead of libwebsocket_pollfd in test-server.c

Cleaned up duplicate content in gettimeofday.c, removed header inclusions from gettimeofday.h and fixed include order in test-echo.c, test-ping.c and test-server.c to enable build with normal Windows and MinGW

Re-enabled debug_level in test-echo.c and made sure that the call to lws_set_log_level() is also active under Windows (just like in test-server.c); replaced all WIN32 occurrences by _WIN32 in test-echo.c, test-ping.c, and test-server.c

Removed build-msys.sh and added new section about how to build libwebsockets using MinGW to README.build.md
2015-10-30 00:16:40 +01:00
..
.gitignore Ignoring linux build files 2013-01-09 15:46:11 +08:00
attack.sh Use bash as a script interpreter 2015-10-15 11:47:38 +08:00
favicon.ico refactor-into-dirs.patch 2010-11-01 09:12:17 +00:00
leaf.jpg add by hand http send example 2013-02-14 23:24:07 +08:00
libwebsockets.org-logo.png add libwebsockets.org logo to share 2013-01-16 10:00:39 +08:00
test-client.c Separate private defines in lws_config_private.h 2015-10-12 10:10:20 +08:00
test-echo.c Implemented fixes allowing libwebsockets to be built under Windows using MinGM/MSYS 2015-10-30 00:16:40 +01:00
test-fraggle.c prepare for v1.4 2015-03-28 11:35:40 +08:00
test-ping.c Implemented fixes allowing libwebsockets to be built under Windows using MinGM/MSYS 2015-10-30 00:16:40 +01:00
test-server.c Implemented fixes allowing libwebsockets to be built under Windows using MinGM/MSYS 2015-10-30 00:16:40 +01:00
test.html ie10 lws url workaround 2013-12-10 21:20:03 +08:00