From: Nick Hengeveld Date: Mon, 07 Nov 2005 17:14:47 GMT Subject: Re: Errors cloning over http -- git-clone and cg-clone fail to fetch a reachable object... Message-ID: <20051107171446.GA4070@reactrix.com> In-Reply-To: <46a038f90511062050geee7e73qddcd52e3a2ec86df@mail.gmail.com> On Mon, Nov 07, 2005 at 05:50:02PM +1300, Martin Langhoff wrote: > > Does it always error out on the same pack file? > > Yes. You might try this to see exactly what request/response headers curl thinks are passing back and forth. diff --git a/http-fetch.c b/http-fetch.c index ea8af1b..11d4dca 100644 --- a/http-fetch.c +++ b/http-fetch.c @@ -325,6 +325,7 @@ static struct active_request_slot *get_a curl_easy_setopt(slot->curl, CURLOPT_HTTPHEADER, pragma_header); curl_easy_setopt(slot->curl, CURLOPT_HTTPHEADER, no_range_header); curl_easy_setopt(slot->curl, CURLOPT_ERRORBUFFER, curl_errorstr); + curl_easy_setopt(slot->curl, CURLOPT_VERBOSE, 1); return slot; } -- For a successful technology, reality must take precedence over public relations, for nature cannot be fooled.