http: prevent segfault during curl handle reuse
authorNick Hengeveld <nickh@reactrix.com>
Wed, 31 May 2006 23:25:03 +0000 (16:25 -0700)
committerJunio C Hamano <junkio@cox.net>
Thu, 1 Jun 2006 01:24:05 +0000 (18:24 -0700)
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 <nickh@reactrix.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>

No differences found