Re: PROPFIND 405 with git-http-backend and Smart HTTP

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

 



On Mon, Jul 30, 2012 at 1:40 AM, Bo98 <BoEllisAnderson@xxxxxxx> wrote:
>
> Shawn Pearce wrote
>>
>>> And here's a snip from my access_log:
>>>
>>>     ::1 - - [29/Jul/2012:18:34:34 +0100] "GET
>>> /repo/myproject.git/info/refs?service=git-receive-pack HTTP/1.1" 200 117
>>
>> Was this request actually served using the smart http-backend? Try the
>> request yourself on the command line with curl, making sure to pass
>> the ?service=git-receive-pack query parameter. A smart HTTP response
>> will include a service=git-receive-pack line as the first line of the
>> response body. I don't think Apache called the http-backend CGI, and
>> so the client thought the server was not smart HTTP capable.
>>
>
> This is what curl returned:
>
> 2ddf56592a0f55456b8c42dc9f2cb9289f083f53        refs/heads/1.0.x
> 55079bb13d9af8a9164ad0d24b654cbfe119bc7e        refs/heads/master
>
> Looks okay. Those are the 2 branches I've got.

No, a smart HTTP response looks more like this:

1e# service=git-receive-pack
000000a5e7a3bcbbb8083e812ce07a5459f0e6d30edfb9fe HEAD include-tag
multi_ack_detailed multi_ack ofs-delta side-band side-band-64k
thin-pack no-progress shallow no-done

Looks like Apache isn't calling the smart-http CGI.
--
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]