As it turns out it no longer works reliably either on my system
and sometimes fails with:
fk@t520 ~/git/privoxy/tests/cts $./run-privoxy-tests.sh -t acl-destination-permitted
Test scenario: acl-destination-permitted
Overwriting default TESTDIR with /home/fk/git/privoxy/tests/cts/acl-destination-permitted/data
********* System characteristics ********
* curl 7.85.0-DEV (amd64-unknown-freebsd14.2)
* libcurl/7.85.0-DEV OpenSSL/3.0.15 zlib/1.3.1 libidn2/2.3.7 libpsl/0.21.5 (+libidn2/2.3.7) nghttp2/1.64.0
* Features: alt-svc AsynchDNS Debug HSTS HTTP2 HTTPS-proxy IDN IPv6 Largefile libz NTLM NTLM_WB PSL SSL threadsafe TLS-SRP TrackMemory UnixSockets
* Disabled:
* Host: t520.local
* System: ElectroBSD t520.local 14.2-STABLE ElectroBSD 14.2-STABLE #49 electrobsd-14-n270357-
5e1b07e1e6c2: 2025-01-07 14:31:47 +0000 fk@t520.local:/usr/obj/usr/src/amd64.amd64/sys/ELECTRO_BEER amd64
* OS: freebsd
*
*** DISABLES memory tracking when using threaded resolver
*
* Servers: SSL HTTP-IPv6 HTTP-unix FTP-IPv6
* Env:
* Seed: 262633
*****************************************
RUN: Unknown server on our http port: 20000 (56)
RUN: HTTP server failed verification
== Contents of files in the log/ dir after test 1
=== Start of file http_server.log
13:29:31.160958 Running HTTP IPv4 version on port 20000
13:29:31.161374 Wrote pid 8319 to .http_server.pid
13:29:31.161492 Wrote port 20000 to .http_server.port
13:29:32.168162 exit_signal_handler: 15
13:29:32.168353 signalled to die
13:29:32.168631 ========> IPv4 sws (port 20000 pid: 8319) exits with signal (15)
=== End of file http_server.log
=== Start of file http_verify.log
* STATE: INIT => CONNECT handle 0x2d09b0b08808; line 1881 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* family0 == v4, family1 == v6
* Trying 127.0.0.1:9119...
* STATE: CONNECT => CONNECTING handle 0x2d09b0b08808; line 1942 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 9119 (#0)
* STATE: CONNECTING => PROTOCONNECT handle 0x2d09b0b08808; line 2076 (connection #0)
* STATE: PROTOCONNECT => DO handle 0x2d09b0b08808; line 2097 (connection #0)
> GET http://127.0.0.1:20000/verifiedserver HTTP/1.1
> Host: 127.0.0.1:20000
> User-Agent: curl/7.85.0-DEV
> Accept: */*
> Proxy-Connection: Keep-Alive
>
* STATE: DO => DID handle 0x2d09b0b08808; line 2193 (connection #0)
* STATE: DID => PERFORMING handle 0x2d09b0b08808; line 2312 (connection #0)
* Recv failure: Connection reset by peer
* multi_done: status: 56 prem: 1 done: 0
* The cache now contains 0 members
* Closing connection 0
* Expire cleared (transfer 0x2d09b0b08808)
=== End of file http_verify.log
test 0001 SKIPPED: failed starting HTTP server
TESTDONE: 1 tests were considered during 6 seconds.
TESTINFO: 1 tests were skipped due to these restraints:
TESTINFO: "failed starting HTTP server" 1 time (1)
TESTFAIL: No tests were performed
TESTFAIL: Nothing matched these keywords: https http
This reverts commit
5415008eafe007b95daa7801ff53bcf13ae52a6a.