aboutsummaryrefslogtreecommitdiff
path: root/tests/server/resolve.c
AgeCommit message (Collapse)Author
2020-03-24copyright: fix out-of-date copyright ranges and missing headersDaniel Stenberg
Reported by the new script 'scripts/copyright.pl'. The script has a regex whitelist for the files that don't need copyright headers. Removed three (mostly usesless) README files from docs/ Closes #5141
2019-12-03curl_setup: disable IPv6 resolver without `getaddrinfo`Marcel Raad
Also, use `CURLRES_IPV6` only for actual DNS resolution, not for IPv6 address support. This makes it possible to connect to IPv6 literals by setting `ENABLE_IPV6` even without `getaddrinfo` support. It also fixes the CMake build when using the synchronous resolver without `getaddrinfo` support. Closes https://github.com/curl/curl/pull/4662
2017-09-11code style: use spaces around equals signsDaniel Stenberg
2017-07-18tests/server/resolve.c: fix deprecation warningMarcel Raad
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
2016-04-03tests/server: comply with our code styleDaniel Stenberg
2016-02-03URLs: change all http:// URLs to https://Daniel Stenberg
2014-12-27code/docs: Use correct case for IPv4 and IPv6Steve Holme
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.
2014-11-10tests: fix memleak in server/resolve.cPeter Wu
This makes LeakSanitizer happy. Signed-off-by: Peter Wu <peter@lekensteyn.nl>
2013-01-06Revert changes relative to lib/*.[ch] recent renamingYang Tse
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
2012-12-28build: make use of 76 lib/*.h renamed filesYang Tse
76 private header files renamed to use our standard naming scheme. This change affects 322 files in libcurl's source tree.
2012-12-14setup_once.h: refactor inclusion of <unistd.h> and <sys/socket.h>Yang Tse
Inclusion of top two most included header files now done in setup_once.h
2012-04-10test servers: build adjustmentYang Tse
Undefine CURL_HIDDEN_SYMBOLS libcurl private preprocessor macro that might leak from lib/setup.h into source files where this should not be defined.
2010-03-24remove the CVSish $Id$ linesDaniel Stenberg
2010-02-23fix socket data typeYang Tse
2010-02-02avoid possibility of using obsoleted stuffYang Tse
2008-10-28Changed the "resolve" test precheck program to verify that an IPv6 socketDan Fandrich
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.
2008-10-01Fixed some compiler warnings with gccDan Fandrich
2008-09-26Avoid the use of the '? :' operator inside the call to ourYang Tse
test-server logging function. It doesn't work on some systems.
2008-09-21fix compiler warning: defined but not usedYang Tse
2008-09-20fix compiler warning: external definition with no prior declarationYang Tse
2008-02-28header inclusion cleanupYang Tse
2006-10-11Remove redundant __CYGWIN__ symbol checkYang Tse
2006-09-12Cygwin preprocessor adjustmentsYang Tse
2006-01-09Made the copyright year match the latest modification's year.Daniel Stenberg
2006-01-04modified output to prevent the autobuild system to trap on the 'FAILED' outputDaniel Stenberg
mistaking it for an actual failed test case
2005-05-18use less code and prevent compiler warningDaniel Stenberg
2005-05-17Made test case 241 precheck that the given name resolves to an ipv6 address,Daniel Stenberg
or the test is skipped. Ideally, we should let this test case go over a few frequently used IPv6 localhost aliases...
2005-05-17Moved more generic functions to util.[ch]Daniel Stenberg
Added resolve.c to simply resolve a given host name