Re: [PATCH 3/9] http-fetch: Abort requests for objects which arrived in packs
- From
- Nick Hengeveld <nickh@reactrix.com>
- Date
- Feb 1, 2006, 17:12 UTC
- Message-ID
- <20060201171225.GI3873@reactrix.com>
- In-Reply-To
- <20060201114430.5042.5144.stgit@metalzone.distorted.org.uk>
On Wed, Feb 01, 2006 at 11:44:31AM +0000, Mark Wooding wrote:
Show 10 quoted lines
> +void release_active_slot(struct active_request_slot *slot)
> +{
> + closedown_active_slot(slot);
> + if (slot->curl) {
> + curl_multi_remove_handle(curlm, slot->curl);
> + curl_easy_cleanup(slot->curl);
> + slot->curl = NULL;
> + }
> + fill_active_slots();
> +}Does it make sense to call curl_easy_cleanup here? This will close persistent server connections and cause another connection startup if the slot is reused.
-- For a successful technology, reality must take precedence over public relations, for nature cannot be fooled.