Child crashes when the backend is down

Dag-Erling Smørgrav des at
Wed May 2 15:59:08 CEST 2007

"Poul-Henning Kamp" <phk at> writes:
> Obviously nobody else will ever check the busy flag in that case,
> so the locking isn't necessary.

HSH_Ref() and HSH_Deref() already check that o->objhead != NULL before
trying to lock the mutex, so I applied the same logic to HSH_Unbusy().
Is this a suitable fix?

Dag-Erling Smørgrav
Senior Software Developer
Linpro AS -

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: varnish-unbusy.diff
URL: <>

More information about the varnish-dev mailing list