fix(web): report unexpected HTTP serve failures (#6210)

* fix(web): report unexpected HTTP serve failures

* test(web): cover normal close and all HTTP servers

---------

Co-authored-by: n0ctal <293235942+n0ctal@users.noreply.github.com>
This commit is contained in:
n0ctalandn0ctal authored and GitHub committed 2026-08-14 19:40:53 +02:00 Unverified
1 parent d291e1c5ee
commit 20b3f84f77
4 files changed
+130 -6

No files matched your search

+1 -3
View File
@@ -371,9 +371,7 @@ func (s *Server) Start() (err error) {
IdleTimeout: 120 * time.Second,
}
go func() {
_ = s.httpServer.Serve(listener)
}()
go network.ServeHTTP(s.httpServer, listener, "Subscription server")
return nil
}