| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-library Mailing List Archives
Bugfix for issue 1330310 (SIGSEGV in Curl_removeHandleFromPipeline)
From: Lénaïc Lefever <lenaic.lefever_at_gmail.com>
Date: Thu, 16 Apr 2009 06:17:37 +0200
Hi,
Issue 1330310 somehow got unfixed and made libcurl (7.19.4) crash by
Here's a detailed scenario that leads to the crash:
[TEXT] Re-using existing connection! (#0) with host qmstaging.com
A send failure occurs in Curl_do (url.c), the result is equal to
[TEXT] Re-used connection seems dead, get a new one
libcurl entered the following piece of code here:
if((CURLE_SEND_ERROR == result) && conn->bits.reuse) {
infof(data, "Re-used connection seems dead, get a new one\n");
/* conn may no longer be a good pointer */
/*
Normally a reconnection should follow here. The problem is that
This makes the condition check for the reconnection fail, since result
When Curl_do returns, the resulting error code (CURLE_PARTIAL_FILE)
I've fixed the bug by keeping the original result in an extra CURLCode
I love libcurl, it's a great lib!
Regards,
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info