I tested the client by running nc -l instead of tomcat7. When I responded to the client request with an invalid HTTP response, it held the connection open indefinitely. If I did not respond at all, it held the connection open indefinitely and did not time out.
The client should close the connection when it doesn't get a valid response.
This may be a client or client-server issue.
I tested the client by running
nc -l
instead of tomcat7. When I responded to the client request with an invalid HTTP response, it held the connection open indefinitely. If I did not respond at all, it held the connection open indefinitely and did not time out.The client should close the connection when it doesn't get a valid response.