git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: disabling PROPFIND when using smart http

From
Scott Chacon <schacon@gmail.com>
Date
Nov 23, 2010, 17:31 UTC
Message-ID
<AANLkTikoGS4X8YbNgLT=Akx5RBj2d4Uybdx5QnJ+CWNo@mail.gmail.com>
In-Reply-To
<20101123161018.GB10420@LK-Perkele-V2.elisa-laajakaista.fi>
Hey,

On Tue, Nov 23, 2010 at 8:10 AM, Ilari Liusvaara <ilari.liusvaara@elisanet.fi> wrote:

> Apparently pusher is falling back to dumb WebDAV push for some
> reason. And then failing because server does not support it
> or isn't configured apporiately for it.

Yes, the client will fall back to 'dumb' HTTP stuff if the server does not respond properly to the initial /info/refs GET call. I believe it's something like if the client asks for

/info/refs?service=git-upload-pack
and the server does not respond with the first line being:
# service=git-upload-pack
or the Content-Type header being:
application/x-git-upload-pack-advertisement

I believe either of those being absent will cause the client to think that it's not a smart server, so it falls back to the DAV based push. If you let us know what the curl output before that point was, or what your apache config looks like, we might be able to help figure out what's wrong with the server.

I got these DAV fallbacks all the time when my proxy wasn't letting the /info/refs calls through to Apache properly.

Scott
Previous: Ilari LiusvaaraNext: Sitaram Chamarty
Message 3 of 5 in “disabling PROPFIND when using smart http”
  1. Sitaram ChamartyNov 23, 2010
  2. Ilari LiusvaaraNov 23, 2010
  3. Scott ChaconNov 23, 2010
  4. Sitaram ChamartyNov 23, 2010
  5. Scott ChaconNov 23, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.