apache - How to determine last packet on http non-persistent connections -


I am a gateway between the client and the server, which means that I can see the traffic passing between them . Now, a non-permanent HTTP connection is established between the server and the client, the client sends the server response with an HTTP request and 200 and a file, in response the Content-Length header (This is okay because it is a constant connection). I want to know as a gateway between them that when the last packet is sent to the customer already, it means that the connection is closed to wait, it is not good for me.

If the HTTP / 1.1 connection is not continuous (i.e. connection header No is set to Keep-alive ), and for all the HTTP / 1.0 connections, the connection closes after the transfer is completed.

That is, the server closes the connection to indicate that the last packet has been sent.


Comments

Popular posts from this blog

java - Can't add JTree to JPanel of a JInternalFrame -

javascript - data.match(var) not working it seems -

javascript - How can I pause a jQuery .each() loop, while waiting for user input? -