Reputation: 1241
My client sends 12 requests(nothing could be wrong since they are very similiar) through loop to a Servlet on the server(Tomcat).
When I see the app server access log, I only see 8 of them. I am not sure if the client sent all requests to the server successfully.
Could someone verify that request isn't logged to access_log until the response is available. If this is the case, even all requests reached app server correctly, but four responses are not available.
Is there anyway to find out why do request get lost? Is there any time out issue on the server side? For example, if it takes too long to respond, it drops the request.
By the way, I am running both client and server on my local machine.
Upvotes: 0
Views: 1050
Reputation: 311052
It can't be written until the response is sent, otherwise it can't know what the response code was, but it is also subject to buffering and flushing.
Upvotes: 1