|
2026-10-19
| ||
| 13:09 | • Closed ticket [5350f32153]: http-4.14.0 fails on NetBSD: $port+1 is the port of ... artifact: 4a1f4d82b3 user: jan.nijtmans | |
| 13:08 | Fix [5350f32153]: http.test: use a port just released by the OS check-in: ea032b0c06 user: jan.nijtmans tags: core-8-6-branch | |
| 11:45 | Fix [5350f32153]: http.test: use a port just released by the OS check-in: 3741c0dbc9 user: jan.nijtmans tags: core-9-0-branch | |
| 11:31 | Fix [5350f32153]: http.test: use a port just released by the OS check-in: 9d697dacb4 user: jan.nijtmans tags: trunk, main | |
|
2026-10-12
| ||
| 20:05 | • Ticket [81cb2b674f] zlib-9.3 hangs on netbsd status still Open with 4 other ... artifact: 09127183b3 user: serhiy.storchaka | |
| 09:47 | • New ticket [5350f32153] http-4.14.0 fails on NetBSD: $port+1 is the port of the ... artifact: 17e44dfffc user: serhiy.storchaka | |
| 09:35 | Fix [5350f32153]: http.test: use a port just released by the OS for badurl instead of $port+1. Where... closed check-in: de7efe2cc2 user: serhiy.storchaka tags: http-test-bad-port | |
http-4.14.0 fails on NetBSD: $port+1 is the port of the outer httpd
Closed / Fixed5350f321532112b7389c4885a1aa7cd8245da806Created 52 days agoUpdated 44 days ago
Descriptionwiki2026-10-12 09:47:00
http-4.14.0 fails on NetBSD:
http::error is empty instead of
connect failed: connection refused.
The test uses $port+1 as a port without a listener. http.test starts
an httpd, then sources itself for each ThreadLevel, which starts another httpd.
NetBSD allocates ephemeral ports in descending order, so the httpd of
ThreadLevel 0 gets the outer port minus 1, and $port+1 is the port of
the outer httpd, which answers the request.
Proposed fix in branch http-test-bad-port: use a
port just released by the OS for badurl.
Referenced by5
ea032b0c06Fix [5350f32153]: http.test: use a port just released by the OS check-in2026-10-19 13:08:163741c0dbc9Fix [5350f32153]: http.test: use a port just released by the OS check-in2026-10-19 11:45:579d697dacb4Fix [5350f32153]: http.test: use a port just released by the OS check-in2026-10-19 11:31:1609127183b3Ticket [81cb2b674f] zlib-9.3 hangs on netbsd status still Open with 4 other changes ticket2026-10-12 20:05:24de7efe2cc2Fix [5350f32153]: http.test: use a port just released by the OS for badurl instead of $port+1. Where ports are allocated in sequence (NetBSD), $port+1 was that of the httpd started by the outer run, so http-4.14.0 connected instead of failing. check-in2026-10-12 09:35:42
jan.nijtmanswiki2026-10-19 13:09:09
Merged to [trunk], core-9-0-branch and core-8-6-branch.
Many thanks!
Log in (anonymous is fine) to add a comment.