Re: Errors cloning over http -- git-clone and cg-clone fail to fetch a reachable object...

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Martin Langhoff <martin.langhoff@...>
Cc: Git Mailing List <git@...>
Date: Monday, November 7, 2005 - 1:14 pm

On Mon, Nov 07, 2005 at 05:50:02PM +1300, Martin Langhoff wrote:


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.
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: Errors cloning over http -- git-clone and cg-clone fail ..., Nick Hengeveld, (Mon Nov 7, 1:14 pm)
Re: Errors cloning over http -- git-clone and cg-clone fail ..., Johannes Schindelin, (Tue Nov 8, 7:54 am)