I am testing eventlet out, and I am getting this error:
~>ab -n 10 -c 1 http://localhost:8090/
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking localhost (be patient)...apr_socket_recv: Connection reset by peer (54)
Total of 2 requests completed
The website works at localhost:8090/ and returns 200 OK.
I had the same issue with tomcat, again the website worked fine.
What could the issue be?
ab
has made ~16k requests, on macOS, see this: stackoverflow.com/a/30357879/537554 for an explanation, and serverfault.com/a/145937/91715 for a fix.