Your message dated Mon, 25 May 2026 16:15:37 +0200
with message-id
<cacpy4os2bhkvbgfr4hsoyqcfrknr7foyqgyagdwd0vb5c62...@mail.gmail.com>
and subject line
has caused the Debian Bug report #1135330,
regarding golang-github-fasthttp-router: FTBFS - HTTP1.1 tests retuen errors
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1135330: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1135330
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: golang-github-fasthttp-router
Version: 1.5.4-1
Severity: normal
Tags: ftbfs
X-Debbugs-Cc: [email protected]
Dear Maintainer,
The package fails to build from source after the update of
golang-github-valyala-fasthttp. Some tests fails because fasthttp now
strictly enforces RFC 7230, which requires a Host header for all HTTP/1.1
requests:
89s === RUN TestGroup
89s router_test.go:107: return error error when reading request headers:
missing required Host header in request. Buffer size=22, contents: "POST /foo
HTTP/1.1\r\n\r\n"
89s === RUN TestRouterServeFiles
89s router_test.go:107: return error error when reading request headers:
missing required Host header in request. Buffer size=29, contents: "GET
/favicon.ico HTTP/1.1\r\n\r\n"
89s --- FAIL: TestRouterServeFiles (0.00s)
89s === RUN TestRouterServeFS
89s router_test.go:107: return error error when reading request headers:
missing required Host header in request. Buffer size=25, contents: "GET
/LICENSE HTTP/1.1\r\n\r\n"
89s --- FAIL: TestRouterServeFS (0.00s)
89s === RUN TestRouterServeFilesCustom
89s router_test.go:107: return error error when reading request headers:
missing required Host header in request. Buffer size=29, contents: "GET
/favicon.ico HTTP/1.1\r\n\r\n"
89s --- FAIL: TestRouterServeFilesCustom (0.00s)
See more details on:
https://ci.debian.net/packages/g/golang-github-fasthttp-router/testing/arm64/70725824/
Since the Debian still builds packages in legacy GOPATH mode
(GO111MODULE=off), the compiler cannot automatically negotiate
compatibility levels via go.mod directives.
We have to patch the tests manually to provide Host header for all
HTTP/1.1 requests or disable the tests. However this might make the
package builds, but ignore the behavior changes, user may still get
HTTP1.1 errors.
This will goes away in Module-Aware Build, so this is a Debian specific
issue that upstream is not affected.
Best regards,
-Andrew
--- End Message ---
--- Begin Message ---
FIxed in version 1.5.4-2
--- End Message ---