[Varnish] #1755: The (struct backend).n_conn counter is never decremented

Varnish varnish-bugs at varnish-cache.org
Fri Jul 3 20:15:48 CEST 2015

#1755: The (struct backend).n_conn counter is never decremented
 Reporter:  Dridi     |       Owner:
     Type:  defect    |      Status:  new
 Priority:  normal    |   Milestone:
Component:  varnishd  |     Version:  trunk
 Severity:  blocker   |  Resolution:
 Keywords:            |

Comment (by Dridi):

 I have a patch that solves this issue, but also maintains consistency
 between the {{{refcount}}} and {{{n_conn}}} fields, and also with the
 {{{(struct tcp_pool).n_used}}} field. It also solves another issue in
 pending work on dynamic backends.

 The code is currently not ready to be submitted, it needs a bit of
 cleaning, especially with regards to locking operations.

Ticket URL: <https://www.varnish-cache.org/trac/ticket/1755#comment:1>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator

More information about the varnish-bugs mailing list