Re: disabling PROPFIND when using smart http
From: Ilari Liusvaara <hidden>
Date: 2016-06-15 22:50:05
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