<Connection handling problems when repeatedly star...
# stackoverflow
r
Connection handling problems when repeatedly starting server on ephemeral port In the following scenario: In a loop: construct and launch server construct client and make a request print response code cleanup server and client I am seeing occasional timeouts and rarely other errors. Usually, the error appears after a few thousand iterations. The example may seem contrived, but is motivated by testing a large codebase with a lot of wiremock tests. I initially thought that it is a wiremock bug, but I observe the same behaviour on plain Jetty. I suspect I am hitting some...