Skip to content

testing: fix resource warning with ManagedHTTPServer

Jérome Perrin requested to merge fix/testing-resourcewarnings into master

We fork a subprocess to serve requests, but the listening socket is bound in server constructor and inherited by subprocess. With this pattern, we have to explicitly close the socket from parent process to prevent the leak.

Merge request reports