curl/tests/http
Viktor Szakats c9d8a6bc10
mod_curltest: fix compiler warnings
```
mod_curltest.c:331:25: warning: result of comparison of unsigned expression >= 0 is always true [-Wtautological-unsigned-zero-compare]
  331 |           if(chunk_size >= 0) {
      |              ~~~~~~~~~~ ^  ~
mod_curltest.c:421:9: warning: declaration shadows a local variable [-Wshadow]
  421 |     int i, hd_len = (16 * 1024);
      |         ^
mod_curltest.c:288:7: note: previous declaration is here
  288 |   int i, chunks = 3, error_bucket = 1;
      |       ^
mod_curltest.c:501:40: warning: format specifies type 'int' but the argument has type 'unsigned int' [-Wformat]
  500 |                 "error_handler: request cleanup, r->status=%d, aborted=%d, "
      |                                                                        ~~
      |                                                                        %u
  501 |                 "close=%d", r->status, c->aborted, close_conn);
      |                                        ^~~~~~~~~~
mod_curltest.c:837:1: warning: missing field 'lock' initializer [-Wmissing-field-initializers]
  837 | };
      | ^
mod_curltest.c:914:43: warning: format specifies type 'int' but the argument has type 'apr_time_t' (aka 'long') [-Wformat]
  914 |     char *v = apr_psprintf(r->pool, "%d", limitrec.duration_sec);
      |                                      ~~   ^~~~~~~~~~~~~~~~~~~~~
      |                                      %ld
mod_curltest.c:956:16: warning: unused variable 'rv' [-Wunused-variable]
  956 |   apr_status_t rv;
      |                ^~
```

Closes #22214
2026-06-29 14:27:56 +02:00
..
testenv mod_curltest: fix compiler warnings 2026-06-29 14:27:56 +02:00
.gitignore
CMakeLists.txt HTTP/3: add proxy CONNECT and MASQUE CONNECT-UDP support (ngtcp2 QUIC) 2026-05-27 08:49:53 +02:00
config.ini.in HTTP/3: add proxy CONNECT and MASQUE CONNECT-UDP support (ngtcp2 QUIC) 2026-05-27 08:49:53 +02:00
conftest.py h3-proxy: fixes around H3 proxy 2026-05-28 14:41:27 +02:00
Makefile.am autotools: minor fixes and improvements 2026-06-25 11:32:36 +02:00
requirements.txt GHA: bump pip cryptography from 46.0.7 to 48.0.1 2026-06-16 22:18:43 +02:00
scorecard.py scorecard: add support for http: testing 2026-05-31 16:58:11 +02:00
test_01_basic.py
test_02_download.py pytest: close file handles after use, and two minor tidy-ups 2026-06-09 02:05:21 +02:00
test_03_goaway.py
test_04_stuttered.py
test_05_errors.py tidy-up: miscellaneous 2026-06-09 11:07:55 +02:00
test_06_eyeballs.py ngtcp2: share common functionality 2026-06-10 13:28:05 +02:00
test_07_upload.py pytest: close file handles after use, and two minor tidy-ups 2026-06-09 02:05:21 +02:00
test_08_caddy.py pytest: close file handles after use, and two minor tidy-ups 2026-06-09 02:05:21 +02:00
test_09_push.py tidy-up: add space around operators, where missing 2026-05-28 10:12:00 +02:00
test_10_proxy.py cf-https-connect: do not engage on proxy origin 2026-06-15 22:32:15 +02:00
test_11_unix.py unix-sockets: ignore proxy settings 2026-05-16 18:49:46 +02:00
test_12_reuse.py
test_13_proxy_auth.py pytest: close file handles after use, and two minor tidy-ups 2026-06-09 02:05:21 +02:00
test_14_auth.py tidy-up: miscellaneous 2026-06-01 22:33:57 +02:00
test_15_tracing.py
test_16_info.py tidy-up: add space around operators, where missing 2026-05-28 10:12:00 +02:00
test_17_ssl_use.py pytest: close file handles after use, and two minor tidy-ups 2026-06-09 02:05:21 +02:00
test_18_methods.py tidy-up: add space around operators, where missing 2026-05-28 10:12:00 +02:00
test_19_shutdown.py tidy-up: add space around operators, where missing 2026-05-28 10:12:00 +02:00
test_20_websockets.py pytest: fix remaining code checker warnings 2026-06-09 12:30:16 +02:00
test_21_resolve.py pythonlint.sh: make it fail on error, fix ruff warnings in pytest 2026-05-13 22:59:36 +02:00
test_22_httpsrr.py pythonlint.sh: make it fail on error, fix ruff warnings in pytest 2026-05-13 22:59:36 +02:00
test_30_vsftpd.py pytest: close file handles after use, and two minor tidy-ups 2026-06-09 02:05:21 +02:00
test_31_vsftpds.py pytest: close file handles after use, and two minor tidy-ups 2026-06-09 02:05:21 +02:00
test_32_ftps_vsftpd.py tidy-up: docs, comments, typos, whitespace 2026-06-26 11:36:09 +02:00
test_40_socks.py lib: transfer origin and proxy handling 2026-06-12 23:52:00 +02:00
test_50_scp.py pytest: close file handles after use, and two minor tidy-ups 2026-06-09 02:05:21 +02:00
test_51_sftp.py pytest: close file handles after use, and two minor tidy-ups 2026-06-09 02:05:21 +02:00
test_60_h3_proxy.py tidy-up: miscellaneous 2026-06-01 22:33:57 +02:00