curl/tests/server
Viktor Szakats b70357c5f3
resolve: fix building without Unix sockets and CURLDEBUG
```
In file included from server_bundle.c:7:
../../../tests/server/resolve.c:110:5: error: unknown type name 'curl_socket_t'; did you mean 'curl_socklen_t'?
    curl_socket_t s = socket(PF_INET6, SOCK_DGRAM, 0);
    ^~~~~~~~~~~~~
    curl_socklen_t
../../../include/curl/system.h:392:38: note: 'curl_socklen_t' declared here
  typedef CURL_TYPEOF_CURL_SOCKLEN_T curl_socklen_t;
                                     ^
In file included from server_bundle.c:7:
../../../tests/server/resolve.c:111:13: error: use of undeclared identifier 'CURL_SOCKET_BAD'
    if(s == CURL_SOCKET_BAD)
            ^
```
Ref: https://github.com/curl/curl/actions/runs/13825438937/job/38679418428?pr=15000#step:14:47

Cherry-picked from #15000
Closes #16700
2025-03-13 11:36:54 +01:00
..
.checksrc checksrc: use 'banfunc' proper in more places 2025-01-13 09:10:58 +01:00
.gitignore build: drop unused getpart tool 2025-02-25 01:52:13 +01:00
base64.pl copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
CMakeLists.txt cmake: unity mode optimization for non-CURLDEBUG testdeps targets 2025-03-13 11:36:53 +01:00
disabled.c tests: make --libcurl tests require the --libcurl feature 2025-03-12 15:23:20 +01:00
getpart.c tests/server: sync memory callbacks with lib/easy.c 2025-03-13 11:36:53 +01:00
getpart.h tests/server: sync memory callbacks with lib/easy.c 2025-03-13 11:36:53 +01:00
Makefile.am tests: fix enum/int confusion (Intel C), fix autotools CFLAGS for servers 2025-02-13 12:46:40 +01:00
Makefile.inc curltime: use libcurl time functions in src and tests/server 2025-03-12 11:33:26 +01:00
mqttd.c build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
resolve.c tests/server: drop unused headers 2025-03-13 11:36:53 +01:00
rtspd.c core: stop redefining E* macros on Windows, map EACCES, related fixes 2025-03-13 00:03:25 +01:00
server_setup.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
server_sockaddr.h build: prefer USE_IPV6 macro internally (was: ENABLE_IPV6) 2024-04-13 08:33:26 +00:00
sockfilt.c tests/server: do not redefine standard functions in sockfilt 2025-03-13 11:36:53 +01:00
socksd.c tests/server: drop unused headers 2025-03-13 11:36:53 +01:00
sws.c core: stop redefining E* macros on Windows, map EACCES, related fixes 2025-03-13 00:03:25 +01:00
tftp.h tftpd: prefix TFTP protocol error E* constants with TFTP_ 2025-03-11 08:50:09 +01:00
tftpd.c build: replace Curl_ prefix with curlx_ for functions used in servers 2025-03-13 00:03:15 +01:00
util.c tests/server: drop unused headers 2025-03-13 11:36:53 +01:00
util.h resolve: fix building without Unix sockets and CURLDEBUG 2025-03-13 11:36:54 +01:00