go-exploit
go-exploit copied to clipboard
HTTPServeFile uses built in HTTP server and mux and cannot be cleanly shut down
During writing tests for #226 it became apparent that HTTPServeFile should use a server structure that's stored in it's singleton so that it can be cleanly shutdown like the others. This breaks the tests because attempting to add a route for tests causes overlapping routes.