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:
n0ctal
2026-08-14 22:40:53 +05:00
committed by GitHub
parent d291e1c5ee
commit 20b3f84f77
4 changed files with 130 additions and 6 deletions
+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
}