From: Nick Hengeveld Date: Wed, 31 May 2006 23:25:03 +0000 (-0700) Subject: http: prevent segfault during curl handle reuse X-Git-Tag: v1.4.0-rc1~20^2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/9094950d738176db2c0d9d7e4e3843c056a5d222?hp=9094950d738176db2c0d9d7e4e3843c056a5d222 http: prevent segfault during curl handle reuse If a curl handle is configured with special options, they may reference information that is freed after the request is complete which can cause a segfault if the curl handle is reused for a different type of request. This patch resets these options to a safe state when a transfer slot is assigned to a new request. Signed-off-by: Nick Hengeveld Signed-off-by: Junio C Hamano ---