#
49b63cf3 |
| 25-Jan-2014 |
Marc Hoersken |
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
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.
show more ...
|
Revision tags: curl-7_34_0, curl-7_33_0, curl-7_32_0, curl-7_31_0, curl-7_30_0 |
|
#
4e2ed01a |
| 06-Apr-2013 |
Marc Hoersken |
sockfilt.c: Fixed detection of client-side connection close WINSOCK only: Since FD_CLOSE is only signaled once, it may trigger at the same time as FD_READ. Data actually being availa
sockfilt.c: Fixed detection of client-side connection close WINSOCK only: Since FD_CLOSE is only signaled once, it may trigger at the same time as FD_READ. Data actually being available makes it impossible to detect that the connection was closed by checking that recv returns zero. Another recv attempt could block the connection if it was not closed. This workaround abuses exceptfds in conjunction with readfds to signal that the connection has actually closed.
show more ...
|
#
2ba0f137 |
| 06-Apr-2013 |
Marc Hoersken |
sockfilt.c: Reduce CPU load while running under a Windows PIPE
|
#
5e722b2d |
| 05-Apr-2013 |
Marc Hoersken |
sockfilt.c: Fixed handling of multiple fds being signaled
|
#
e5d25b6c |
| 04-Apr-2013 |
Marc Hoersken |
sockfilt.c: Added wrapper functions to fix Windows console issues The new read and write wrapper functions support reading from stdin and writing to stdout/stderr on Windows by using the
sockfilt.c: Added wrapper functions to fix Windows console issues The new read and write wrapper functions support reading from stdin and writing to stdout/stderr on Windows by using the appropriate Windows API functions and data types.
show more ...
|
Revision tags: curl-7_29_0 |
|
#
d17f5366 |
| 10-Jan-2013 |
Yang Tse |
sockfilt.c: log file descriptor number on read/write error
|
#
308cce82 |
| 09-Jan-2013 |
Yang Tse |
test servers: handle W32/W64 SIGBREAK with exit_signal_handler
|
#
a6848250 |
| 09-Jan-2013 |
Yang Tse |
test servers: fix errno, ERRNO and SOCKERRNO usage for W32/W64
|
#
a9ca5e61 |
| 09-Jan-2013 |
Yang Tse |
sockfilt.c: fix some W64 compiler warnings
|
#
fea3a3d5 |
| 08-Jan-2013 |
Yang Tse |
sockfilt.c: fix some compiler warnings
|
#
561b551d |
| 07-Jan-2013 |
Marc Hoersken |
tests/server/sockfilt.c: Fixed integer comparison warning
|
#
6a4f5e52 |
| 07-Jan-2013 |
Marc Hoersken |
tests/server/sockfilt.c: Include required Win32 headers
|
#
11f55a96 |
| 06-Jan-2013 |
Marc Hoersken |
tests/server/sockfilt.c: Fixed support for listening sockets This commit fixes support for sockets that are ready to accept a new connection and have previously been put into listening m
tests/server/sockfilt.c: Fixed support for listening sockets This commit fixes support for sockets that are ready to accept a new connection and have previously been put into listening mode. It also includes changes which are the result of investigation regarding Windows STDIN. These changes are the preparation for further improvements regarding support for reading data from STDIN on Windows. Open issue: WaitForMultipleObjectsEx does not support PIPE handles which are returned by GetStdHandle while running without a GUI.
show more ...
|
#
5475ac27 |
| 06-Jan-2013 |
Marc Hoersken |
tests/server/sockfilt.c: Set Windows Console to binary mode
|
#
a77d18ef |
| 06-Jan-2013 |
Marc Hoersken |
tests/server/sockfilt.c: Improved log error messages Include error code and parameters in error messages.
|
#
4a5aa668 |
| 04-Jan-2013 |
Yang Tse |
Revert changes relative to lib/*.[ch] recent renaming This reverts renaming and usage of lib/*.h header files done 28-12-2012, reverting 2 commits: f871de0... build: make use
Revert changes relative to lib/*.[ch] recent renaming This reverts renaming and usage of lib/*.h header files done 28-12-2012, reverting 2 commits: f871de0... build: make use of 76 lib/*.h renamed files ffd8e12... build: rename 76 lib/*.h files This also reverts removal of redundant include guard (redundant thanks to changes in above commits) done 2-12-2013, reverting 1 commit: c087374... curl_setup.h: remove redundant include guard This also reverts renaming and usage of lib/*.c source files done 3-12-2013, reverting 3 commits: 13606bb... build: make use of 93 lib/*.c renamed files 5b6e792... build: rename 93 lib/*.c files 7d83dff... build: commit 13606bbfde follow-up 1 Start of related discussion thread: http://curl.haxx.se/mail/lib-2013-01/0012.html Asking for confirmation on pushing this revertion commit: http://curl.haxx.se/mail/lib-2013-01/0048.html Confirmation summary: http://curl.haxx.se/mail/lib-2013-01/0079.html NOTICE: The list of 2 files that have been modified by other intermixed commits, while renamed, and also by at least one of the 6 commits this one reverts follows below. These 2 files will exhibit a hole in history unless git's '--follow' option is used when viewing logs. lib/curl_imap.h lib/curl_smtp.h
show more ...
|
#
f871de00 |
| 28-Dec-2012 |
Yang Tse |
build: make use of 76 lib/*.h renamed files 76 private header files renamed to use our standard naming scheme. This change affects 322 files in libcurl's source tree.
|
#
eb5aa12c |
| 26-Dec-2012 |
Yang Tse |
sockfilt.c: commit b44da5a82a follow-up 2
|
#
77b5c0b2 |
| 26-Dec-2012 |
Yang Tse |
sockfilt.c: commit b44da5a82a follow-up
|
#
b44da5a8 |
| 26-Dec-2012 |
Yang Tse |
sockfilt.c: fix some compiler warnings
|
#
4a23b19a |
| 25-Dec-2012 |
Marc Hoersken |
socklift.c: Quick fix to re-add missing code
|
#
a662f86f |
| 25-Dec-2012 |
Marc Hoersken |
socklift.c: Added select_ws function to support Windows WinSock select() does not support standard file descriptors, it can only check SOCKETs. The following function is an attempt t
socklift.c: Added select_ws function to support Windows WinSock select() does not support standard file descriptors, it can only check SOCKETs. The following function is an attempt to create a select() function with support for other handles.
show more ...
|
#
a0b20716 |
| 14-Dec-2012 |
Yang Tse |
setup_once.h: refactor inclusion of <unistd.h> and <sys/socket.h> Inclusion of top two most included header files now done in setup_once.h
|
Revision tags: curl-7_28_1, curl-7_28_0, curl-7_27_0, curl-7_26_0 |
|
#
4d3fb91f |
| 10-Apr-2012 |
Yang Tse |
test servers: build adjustment Undefine CURL_HIDDEN_SYMBOLS libcurl private preprocessor macro that might leak from lib/setup.h into source files where this should not be defined.
|
Revision tags: curl-7_25_0, curl-7_24_0, curl-7_23_1, curl-7_23_0 |
|
#
8bfc3a80 |
| 31-Oct-2011 |
Yang Tse |
FTP test server: NODATACONN commands commit c761fcb0 follow-up Adjustments that make NODATACONN custom commands fully usable.
|