git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Nick Hengeveld <nickh@reactrix.com>
To: Martin Langhoff <martin.langhoff@gmail.com>
Cc: Git Mailing List <git@vger.kernel.org>
Subject: Re: Errors cloning over http -- git-clone and cg-clone fail to fetch a reachable object...
Date: Mon, 7 Nov 2005 09:14:47 -0800	[thread overview]
Message-ID: <20051107171446.GA4070@reactrix.com> (raw)
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.

  reply	other threads:[~2005-11-07 17:15 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-06 21:54 Errors cloning over http -- git-clone and cg-clone fail to fetch a reachable object Martin Langhoff
2005-11-07  2:52 ` Martin Langhoff
2005-11-07  4:37   ` Nick Hengeveld
2005-11-07  4:50     ` Martin Langhoff
2005-11-07 17:14       ` Nick Hengeveld [this message]
2005-11-08  2:37         ` Martin Langhoff
2005-11-08  6:31           ` Nick Hengeveld
2005-11-08 11:54           ` Johannes Schindelin
2005-11-08 11:19 ` Ben Clifford
2005-11-09  1:09   ` Nick Hengeveld
2005-11-09  9:49     ` Ben Clifford
2005-11-09 11:20       ` Petr Baudis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20051107171446.GA4070@reactrix.com \
    --to=nickh@reactrix.com \
    --cc=git@vger.kernel.org \
    --cc=martin.langhoff@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).