diff options
author | Nick Hengeveld <nickh@reactrix.com> | 2006-05-31 16:25:03 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-05-31 18:24:05 -0700 |
commit | 9094950d738176db2c0d9d7e4e3843c056a5d222 (patch) | |
tree | dd16af3d956ca8d2e78e95538374accc0e9485b2 /t/t3002-ls-files-dashpath.sh | |
parent | 07001f95a60149619bed62af7ad59052ace7ac92 (diff) | |
download | git-9094950d738176db2c0d9d7e4e3843c056a5d222.tar.gz git-9094950d738176db2c0d9d7e4e3843c056a5d222.tar.xz |
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 <nickh@reactrix.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 't/t3002-ls-files-dashpath.sh')
0 files changed, 0 insertions, 0 deletions