Skip to content

Commit

Permalink
Revive the backend_conn counter
Browse files Browse the repository at this point in the history
Discussed with Federico.

Fixes: #1725
  • Loading branch information
daghf committed Mar 8, 2016
1 parent 81d5d46 commit e4e4e21
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bin/varnishd/cache/cache_backend_tcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,9 @@ VBT_Get(struct tcp_pool *tp, double tmo, const struct backend *be,
Lck_Lock(&tp->mtx);
tp->n_used--; // Nope, didn't work after all.
Lck_Unlock(&tp->mtx);
}
} else
VSC_C_main->backend_conn++;

return (vbc);
}

Expand Down

0 comments on commit e4e4e21

Please sign in to comment.