curl/tests/http/testenv
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
..
mod_curltest mod_curltest: fix compiler warnings 2026-06-29 14:27:56 +02:00
__init__.py pytest: adding support for dnsd test server 2026-04-10 14:29:29 +02:00
caddy.py pytest: close file handles after use (cont.), and tidy-ups 2026-06-09 10:24:07 +02:00
certs.py pytest: fix remaining code checker warnings 2026-06-09 12:30:16 +02:00
client.py pytest: close file handles after use (cont.), and tidy-ups 2026-06-09 10:24:07 +02:00
curl.py pytest: use Optional[], adjust whitespace 2026-06-09 13:24:09 +02:00
dante.py pytest: close file handles after use (cont.), and tidy-ups 2026-06-09 10:24:07 +02:00
dnsd.py pytest: close file handles after use (cont.), and tidy-ups 2026-06-09 10:24:07 +02:00
env.py h3-proxy: fixes around H3 proxy 2026-05-28 14:41:27 +02:00
h2o.py pytest: close file handles after use (cont.), and tidy-ups 2026-06-09 10:24:07 +02:00
httpd.py pytest: check 429 handling 2026-04-17 22:17:50 +02:00
nghttpx.py pytest: close file handles after use (cont.), and tidy-ups 2026-06-09 10:24:07 +02:00
ports.py pytest: bind to localhost 2025-09-10 00:55:07 +02:00
sshd.py pytest: close file handles after use (cont.), and tidy-ups 2026-06-09 10:24:07 +02:00
vsftpd.py pytest: close file handles after use (cont.), and tidy-ups 2026-06-09 10:24:07 +02:00
ws_echo_server.py tidy-up: miscellaneous 2026-06-09 11:07:55 +02:00