summaryrefslogtreecommitdiff
path: root/tests/server/resolve.c
Commit message (Collapse)AuthorAgeFilesLines
* code style: use spaces around equals signsDaniel Stenberg2017-09-111-3/+3
|
* tests/server/resolve.c: fix deprecation warningMarcel Raad2017-07-181-26/+28
| | | | | | | | MSVC warns that gethostbyname is deprecated. Always use getaddrinfo instead to fix this when IPv6 is enabled, also for IPv4 resolves. This is also consistent with what libcurl does. Closes https://github.com/curl/curl/pull/1682
* tests/server: comply with our code styleDaniel Stenberg2016-04-031-3/+3
|
* URLs: change all http:// URLs to https://Daniel Stenberg2016-02-031-1/+1
|
* code/docs: Use correct case for IPv4 and IPv6Steve Holme2014-12-271-1/+1
| | | | | | For consistency, as we seem to have a bit of a mixed bag, changed all instances of ipv4 and ipv6 in comments and documentations to use the correct case.
* tests: fix memleak in server/resolve.cPeter Wu2014-11-101-3/+5
| | | | | | This makes LeakSanitizer happy. Signed-off-by: Peter Wu <peter@lekensteyn.nl>
* Revert changes relative to lib/*.[ch] recent renamingYang Tse2013-01-061-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* build: make use of 76 lib/*.h renamed filesYang Tse2012-12-281-3/+3
| | | | | | 76 private header files renamed to use our standard naming scheme. This change affects 322 files in libcurl's source tree.
* setup_once.h: refactor inclusion of <unistd.h> and <sys/socket.h>Yang Tse2012-12-141-9/+0
| | | | Inclusion of top two most included header files now done in setup_once.h
* test servers: build adjustmentYang Tse2012-04-101-5/+2
| | | | | Undefine CURL_HIDDEN_SYMBOLS libcurl private preprocessor macro that might leak from lib/setup.h into source files where this should not be defined.
* remove the CVSish $Id$ linesDaniel Stenberg2010-03-241-1/+0
|
* fix socket data typeYang Tse2010-02-231-2/+2
|
* avoid possibility of using obsoleted stuffYang Tse2010-02-021-1/+4
|
* Changed the "resolve" test precheck program to verify that an IPv6 socketDan Fandrich2008-10-281-25/+38
| | | | | | | | can be created before resolving the IPv6 name. In the context of running a test, it doesn't make sense to run an IPv6 test when a host is resolvable but IPv6 isn't usable. This should fix failures of test 1085 on hosts with library and DNS support for IPv6 but where actual use of IPv6 has been administratively disabled.
* Fixed some compiler warnings with gccDan Fandrich2008-10-011-1/+1
|
* Avoid the use of the '? :' operator inside the call to ourYang Tse2008-09-261-4/+11
| | | | test-server logging function. It doesn't work on some systems.
* fix compiler warning: defined but not usedYang Tse2008-09-211-1/+1
|
* fix compiler warning: external definition with no prior declarationYang Tse2008-09-201-1/+1
|
* header inclusion cleanupYang Tse2008-02-281-10/+3
|
* Remove redundant __CYGWIN__ symbol checkYang Tse2006-10-111-1/+1
|
* Cygwin preprocessor adjustmentsYang Tse2006-09-121-1/+1
|
* Made the copyright year match the latest modification's year.Daniel Stenberg2006-01-091-1/+1
|
* modified output to prevent the autobuild system to trap on the 'FAILED' outputDaniel Stenberg2006-01-041-1/+1
| | | | mistaking it for an actual failed test case
* use less code and prevent compiler warningDaniel Stenberg2005-05-181-10/+5
|
* Made test case 241 precheck that the given name resolves to an ipv6 address,Daniel Stenberg2005-05-171-4/+5
| | | | | or the test is skipped. Ideally, we should let this test case go over a few frequently used IPv6 localhost aliases...
* Moved more generic functions to util.[ch]Daniel Stenberg2005-05-171-0/+153
Added resolve.c to simply resolve a given host name