Re: disabling PROPFIND when using smart http

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Nov 23, 2010 at 09:10:43PM +0530, Sitaram Chamarty wrote:
> Hello,
> 
> Although smart http worked fine for me out of the box, following "man
> git-http-backend", I've found folks on #git for whom it seems to fail
> on doing a PROPFIND (found by setting GIT_CURL_VERBOSE=1).  Enabling
> WebDAV also doesn't seem to help, although that is quite likely to be
> some nuance in the Apache config I suppose.
> 
> The thing is, I *think* that PROPFIND is not, strictly speaking,
> needed when you use the smart HTTP mode. If that is indeed true, can
> we stop git from even attempting it, and so avoid the need to setup
> WebDAV on Apache?

I thought that this is quite strange, and as consequence, decided to
dig a bit. 

This is pretty telling:

$ git grep -i --files-with-matches "propfind"
http-push.c

http-push.c is AFAIK not used by smart HTTP, only by dumb HTTP
push.

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.

-Ilari
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]