Skip to content

Workhorse: simplify main http server

Jacob Vosmaer requested to merge jv-workhorse-http-server into master

In 107e3cce we added support for multiple HTTP listeners to Workhorse. We created the internal/server package to handle the combined shutdown logic for multiple http.Server instances. In retrospect this was unnecessary because a single Go net/http.Server can have multiple listeners.

This commit simplifies main.go to use a single http.Server instance again.

Merge request reports

Loading