summaryrefslogtreecommitdiff
path: root/lib/select.h
Commit message (Collapse)AuthorAgeFilesLines
* remove the CVSish $Id$ linesDaniel Stenberg2010-03-241-1/+0
|
* Peter Lamberg filed bug report #2015126: "poll gives WSAEINVAL when POLLPRIYang Tse2008-07-101-8/+10
| | | | | | | 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!
* check availability of poll.h header at configuration time, and includeYang Tse2008-01-221-2/+6
| | | | it when sys/poll.h is unavailable
* Some versions of winsock2.h have pollfd struct and constantsYang Tse2007-11-101-1/+4
|
* Make our own definitions of the POLL* defiens and the pollfd struct only getDaniel Stenberg2007-06-141-1/+1
| | | | | | 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...
* When transferring 500 downloads in parallel with a c-ares enabled build onlyDaniel Stenberg2007-05-311-4/+0
| | | | | | | | 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.
* - Robert Iakobashvil added curl_multi_socket_action() to libcurl, which is aDaniel Stenberg2007-04-161-5/+2
| | | | | | | | 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*().
* New Internal wrapper function Curl_select() around select (2), itYang Tse2007-03-271-0/+16
| | | | | 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.
* Internal function Curl_select() renamed to Curl_socket_ready()Yang Tse2007-03-261-1/+1
|
* Code refactoring, extracting a new function wait_ms() from Curl_select andYang Tse2007-03-181-7/+24
| | | | | | | 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().
* reverted the pselect patch => http://curl.haxx.se/mail/lib-2007-03/0100.htmlDaniel Stenberg2007-03-111-3/+0
|
* - Bryan Henderson introduces two things:Daniel Stenberg2007-03-101-0/+3
| | | | | 1) the progress callback gets called more frequently (at times) 2) libcurl *might* call the callback when it receives a signal
* Cory Nelson made libcurl use the WSAPoll() function if built for WindowsDaniel Stenberg2006-09-241-1/+5
| | | | Vista (_WIN32_WINNT >= 0x0600)
* First commit of David McCreedy's EBCDIC and TPF changes.Daniel Stenberg2006-04-071-0/+4
|
* Suppress signed vs. unsigned warnings on Win32Gisle Vanem2004-11-191-1/+1
|
* Curl_select() now uses curl_socket_t on socket argumentsDaniel Stenberg2004-11-191-3/+1
|
* David Phillips' FD_SETSIZE fixDaniel Stenberg2004-11-191-0/+57