Mailing List Archive

Patches to fix leaking busyobj
Find attached two patches to deal with leaking busyobj structures.

First one frees any busyobj structure attached to the worker on thread exit.

Second one deals with early deref's of objects (before HSH_Unbusy, e.g. due
to failures), returning the busyobj to the worker.

Any comments appreciated.

Regards,
Martin Blix Grydeland

--
Martin Blix Grydeland
Varnish Software AS
Re: Patches to fix leaking busyobj [ In reply to ]
Looks good.

Nice catch.

>Find attached two patches to deal with leaking busyobj structures.

--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.

_______________________________________________
varnish-dev mailing list
varnish-dev@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-dev