Artifacts Associated With Ticket 5350f32153
Ticket change [17e44dfffc] (rid 257686) by serhiy.storchaka on 2026-10-12 09:47:00:
- cmimetype initialized to: "text/x-fossil-wiki"
- comment initialized to:
http-4.14.0 fails on NetBSD: <code>http::error</code> is empty instead of <code>connect failed: connection refused</code>. The test uses <code>$port+1</code> 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 <code>$port+1</code> is the port of the outer httpd, which answers the request. Proposed fix in branch [/timeline?r=http-test-bad-port|http-test-bad-port]: use a port just released by the OS for <code>badurl</code>.
- foundin initialized to: "9.1.0"
- login: "serhiy.storchaka"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- severity initialized to: "Minor"
- status initialized to: "Open"
- submitter initialized to: "serhiy.storchaka"
- subsystem initialized to: "29. http Package"
- title initialized to:
http-4.14.0 fails on NetBSD: $port+1 is the port of the outer httpd
- type initialized to: "Bug"
Ticket change [4a1f4d82b3] (rid 259267) by jan.nijtmans on 2026-10-19 13:09:09:
- assignee changed to: "jan.nijtmans"
- closedate changed to: "2461333.0480293171"
- closer changed to: "jan.nijtmans"
- comment changed to:
http-4.14.0 fails on NetBSD: <code>http::error</code> is empty instead of <code>connect failed: connection refused</code>. The test uses <code>$port+1</code> 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 <code>$port+1</code> is the port of the outer httpd, which answers the request. Proposed fix in branch [/timeline?r=http-test-bad-port|http-test-bad-port]: use a port just released by the OS for <code>badurl</code>.
- icomment:
Merged to [9d697dacb4|trunk], core-9-0-branch and core-8-6-branch. Many thanks!
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Fixed"
- status changed to: "Closed"