Search squid archive

Re: Proxy Server closes the connection to http server before transferring all application data to http client

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/14/20 10:21 PM, Zhang, Lily (USD) wrote:

>  1. Is it normal that proxy server sends FIN, ACK to http server before
>     http client finishes receiving  all the “Application Data” ?

Yes, this is how Squid works, even if Squid is tunneling at TCP level.
After Squid notices that the server has closed the Squid-server
connection, Squid closes its end of that connection as well, regardless
of what the client is doing (in some cases, there may be no client at
all at that point).

Some may argue that the lack of accurate closure timing propagation for
TCP tunnels is a Squid bug or a missing Squid feature, but that argument
does not change the answer to your question about the current Squid
behavior.


>  2. Does proxy server have option to stop item 1?

No. If you want to discuss whether adding such an option is a good idea
please detail your use case (i.e. _why_ such an option is needed).


HTH,

Alex.
P.S. Please note that Squid works above the individual TCP packet layer.
Squid operates on TCP sockets and does not see or send individual TCP
packets.
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux