summaryrefslogtreecommitdiff
path: root/lib/asyn-thread.c
Commit message (Collapse)AuthorAgeFilesLines
* setup_once.h: refactor inclusion of <unistd.h> and <sys/socket.h>Yang Tse2012-12-141-6/+0
| | | | Inclusion of top two most included header files now done in setup_once.h
* win32-threaded-resolver: stop using a dummy socketDaniel Stenberg2012-01-041-27/+4
| | | | | | | | | | | Previously the code would create a dummy socket while resolving just to have curl_multi_fdset() return something but the non-win32 version doesn't do it this way and the creation and use of a socket that isn't made with the common create-socket callback can be confusing to apps using the multi_socket API etc. This change removes the dummy socket and thus will cause curl_multi_fdset() to return with maxfd == -1 more often.
* CURLOPT_DNS_SERVERS: set name servers if possibleJason Glasgow2011-11-171-0/+9
|
* asyn-thread: check for dotted addresses before thread startsChristian Hägele2011-08-061-2/+16
|
* stdio.h, stdlib.h, string.h, stdarg.h and ctype.h inclusion done in setup_once.hYang Tse2011-07-261-6/+0
|
* errno.h inclusion conditionally done in setup_once.hYang Tse2011-07-241-1/+0
|
* code style: space between close paren and open braceDaniel Stenberg2011-07-041-1/+1
|
* asyn-thread: fix compiler warningYang Tse2011-06-211-4/+2
| | | | compiler warning: variable is initialized but not referenced
* compiler warning: fixYang Tse2011-05-211-1/+1
| | | | Fix compiler warning: enumerated type mixed with another type
* resolver_error: remove bad semicolonDaniel Stenberg2011-04-291-1/+1
|
* gai_strerror: provide private implementationDaniel Stenberg2011-04-281-0/+38
| | | | | There are systems (like NetWare) without its own gai_strerror() function.
* treaded-resolver: better error messagesDaniel Stenberg2011-04-281-10/+31
| | | | | | | Now use gai_strerror() to get proper error messages when getaddrinfo() has failed. Detect the function in configure. Code based on work and suggestions by Jeff Pohlmeyer and Guenter Knauf
* source cleanup: unify look, style and indent levelsDaniel Stenberg2011-04-271-24/+27
| | | | | By the use of a the new lib/checksrc.pl script that checks that our basic source style rules are followed.
* async resolvers: further cleanupsDaniel Stenberg2011-04-251-0/+632
asyn-ares.c and asyn-thread.c are two separate backends that implement the same (internal) async resolver API for libcurl to use. Backend is specified at build time. The internal resolver API is defined in asyn.h for asynch resolvers.