Perhaps a better place for my question. I was running some performance tests with apache bench on Jetty (which I use via ring-jetty-adapter, i.e. clojure code) and I kept randomly getting apr_socket_recv: Connection reset by peer (54) . So if I ran my test 20 times I would get some of these on some tries. Since then I’ve created a Java example that also has this problem and I was wondering if anyone has any experience with this kind of a problem.
https://github.com/RokLenarcic/jetty-test
If you search for that error it looks like it is a common issue running ab on macos