]> git.ipfire.org Git - thirdparty/squid.git/commit
Bug #865: Persistent connection usage too high after sudden burst of traffic
authorhno <>
Sun, 4 Apr 2004 19:44:28 +0000 (19:44 +0000)
committerhno <>
Sun, 4 Apr 2004 19:44:28 +0000 (19:44 +0000)
commit563103473b9866da44d5ddc9113512ce74e77194
treeec96e96c4852caed42bb2b85c41b26edf25ecb36
parenta93e38e50f9f1b4e31d5b67b14118429b1c4a40d
Bug #865: Persistent connection usage too high after sudden burst of traffic

Persistent server connections are reused in a round-robin fashion which may
cause the number of connections to stay artificially high after a sudden
burst of requests.

This patch changes persistent connection management to use a LIFO order
reusing the most recently used connection first, thereby allowing unneeded
connections to close down by idle timeout.
src/pconn.cc