aboutsummaryrefslogtreecommitdiff
path: root/lib/select.h
AgeCommit message (Collapse)Author
2011-07-28Give the NTLM SSO helper a moment to cleanly shut down if neededDan Fandrich
2011-06-04Curl_socket_ready: make timeout a 'long'Daniel Stenberg
It was mostly typecasted to int all over the code so switching to long instead all over should be a net gain.
2010-03-24remove the CVSish $Id$ linesDaniel Stenberg
2008-07-10Peter Lamberg filed bug report #2015126: "poll gives WSAEINVAL when POLLPRIYang Tse
is set in fdset.events" (http://curl.haxx.se/bug/view.cgi?id=2015126) which exactly pinpointed the problem only triggered on Windows Vista, provided reference to docs and also a fix. There is much work behind Peter Lamberg's excellent bug report. Thank You!
2008-01-22check availability of poll.h header at configuration time, and includeYang Tse
it when sys/poll.h is unavailable
2007-11-10Some versions of winsock2.h have pollfd struct and constantsYang Tse
2007-06-14Make our own definitions of the POLL* defiens and the pollfd struct only getDaniel Stenberg
done if the sys/poll.h file is missing, as we have seen machines with poll() present but without the header file and machines that don't get HAVE_POLL defined but that do have the sys/poll.h header file...
2007-05-31When transferring 500 downloads in parallel with a c-ares enabled build onlyDaniel Stenberg
to find that it crashed miserably, and this was due to some select()isms left in the code. This was due to API restrictions in c-ares 1.3.x, but with the upcoming c-ares 1.4.0 this is no longer the case so now libcurl runs much better with c-ares and the multi interface with > 1024 file descriptors in use.
2007-04-16- Robert Iakobashvil added curl_multi_socket_action() to libcurl, which is aDaniel Stenberg
function that deprecates the curl_multi_socket() function. Using the new function the application tell libcurl what action that was found in the socket that it passes in. This gives a significant performance boost as it allows libcurl to avoid a call to poll()/select() for every call to curl_multi_socket*().
2007-03-27New Internal wrapper function Curl_select() around select (2), itYang Tse
uses poll() when a fine poll() is available, so now libcurl can be built without select() support at all if a fine poll() is available.
2007-03-26Internal function Curl_select() renamed to Curl_socket_ready()Yang Tse
2007-03-18Code refactoring, extracting a new function wait_ms() from Curl_select andYang Tse
Curl_poll() which is called whenever not a single valid file descriptor is passed to these functions. Improve readibility using a poll() macro to replace WSApoll().
2007-03-11reverted the pselect patch => http://curl.haxx.se/mail/lib-2007-03/0100.htmlDaniel Stenberg
2007-03-10- Bryan Henderson introduces two things:Daniel Stenberg
1) the progress callback gets called more frequently (at times) 2) libcurl *might* call the callback when it receives a signal
2006-09-24Cory Nelson made libcurl use the WSAPoll() function if built for WindowsDaniel Stenberg
Vista (_WIN32_WINNT >= 0x0600)
2006-04-07First commit of David McCreedy's EBCDIC and TPF changes.Daniel Stenberg
2004-11-19Suppress signed vs. unsigned warnings on Win32Gisle Vanem
2004-11-19Curl_select() now uses curl_socket_t on socket argumentsDaniel Stenberg
2004-11-19David Phillips' FD_SETSIZE fixDaniel Stenberg