[Varnish] #653: TCP connections are not closed properly

Varnish varnish-bugs at projects.linpro.no
Fri Feb 26 16:44:44 CET 2010

#653: TCP connections are not closed properly
 Reporter:  Sesse  |        Type:  defect
   Status:  new    |    Priority:  normal
Milestone:         |   Component:  build 
  Version:  trunk  |    Severity:  normal
 Keywords:         |  

 For some reason Varnish uses RST packets instead of FIN to close
 connections. This is a problem because:

 a) It breaks if packets are delivered out-of-order.
 b) It's contrary to ordinary TCP best practices.
 c) It confuses some client-side NATs; in particular, some Juniper
 implementations, which end up thinking the connection is still alive and
 sending bogus packets to both sides to revalidate it.

 Please, at the very least, add an option for using the normal close() FIN

Ticket URL: <http://varnish-cache.org/ticket/653>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator

More information about the varnish-bugs mailing list