forked from varnishcache/varnish-cache
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Close VDPs for error conditions in cnt_transmit()
... and use the pedantic VDP to test that we do. This should plug some less relevant memory leaks from VDPs which allocate heap memory. Note that we should not close VDPs for the happy path to allow transports to keep them open until after cnt_transmit returns (e.g. in vmod_pesi). Calling VDP_Close() from cnt_transmit() avoids repetition for error handling in transports.
- Loading branch information
Showing
2 changed files
with
13 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters