curl/tests/server
Marc Hoersken 49b63cf30d sockfilt.c: fixed and simplified Windows select function
Since the previous complex select function with initial support for
non-socket file descriptors, did not actually work correctly for
Console handles, this change simplifies the whole procedure by using
an internal waiting thread for the stdin console handle.

The previous implementation made it continuously trigger for the stdin
handle if it was being redirected to a parent process instead of
an actual Console input window.

This approach supports actual Console input handles as well as
anonymous Pipe handles which are used during input redirection.

It depends on the fact that ReadFile supports trying to read zero bytes
which makes it wait for the handle to become ready for reading.
2014-01-26 00:58:30 +01:00
..
.gitignore gitignore: ignore fake_ntlm 2011-07-18 23:49:31 +02:00
base64.pl utility to base encode data passed on stdin 2004-11-29 12:09:05 +00:00
CMakeLists.txt cmake: Fix for MSVC2010 project generation 2013-07-17 00:26:58 +02:00
fake_ntlm.c test servers: fix errno, ERRNO and SOCKERRNO usage for W32/W64 2013-01-09 22:23:50 +01:00
getpart.c base64: Fixed compilation warnings when using Curl_base64_decode() 2013-11-03 12:25:07 +00:00
getpart.h test servers: build adjustment 2012-04-10 17:32:06 +02:00
Makefile.am build: fix circular header inclusion with other packages 2013-01-09 00:49:50 +01:00
Makefile.inc Makefile.inc: fix $(top_srcdir) not allowed in _SOURCES variables 2013-01-20 04:20:02 +01:00
resolve.c Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
rtspd.c test servers: handle W32/W64 SIGBREAK with exit_signal_handler 2013-01-09 22:23:50 +01:00
server_setup.h build: fix circular header inclusion with other packages 2013-01-09 00:49:50 +01:00
server_sockaddr.h test servers: build adjustment 2012-04-10 17:32:06 +02:00
sockfilt.c sockfilt.c: fixed and simplified Windows select function 2014-01-26 00:58:30 +01:00
sws.c sws: support extracting test number from CONNECT ipv6-address! 2013-06-04 22:50:58 +02:00
testpart.c Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
tftp.h Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
tftpd.c tftpd: support "writedelay" within <servercmd> 2013-08-22 19:23:08 +02:00
util.c util.c: Revert workaround eeefcdf, 6eb56e7 and e3787e8 2013-04-06 11:55:30 +02:00
util.h test servers: build adjustment 2012-04-10 17:32:06 +02:00