Overview
| Artifact ID: | 17e44dfffce0e0a2d4958511009d775a8366f8f2abfa5978aa0c0338390d9d4e |
|---|---|
| Ticket: | 5350f321532112b7389c4885a1aa7cd8245da806
http-4.14.0 fails on NetBSD: $port+1 is the port of the outer httpd |
| User & Date: | serhiy.storchaka on 2026-10-12 09:47:00 |
Changes
- cmimetype changed to: "text/x-fossil-wiki"
- 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>.
- foundin changed to: "9.1.0"
- login: "serhiy.storchaka"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "serhiy.storchaka"
- subsystem changed to: "29. http Package"
- title changed to:
http-4.14.0 fails on NetBSD: $port+1 is the port of the outer httpd
- type changed to: "Bug"