Re: [RFC] helping smart-http/stateless-rpc fetch race

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

 



On Mon, Aug 08, 2011 at 11:05:27PM +0200, Sverre Rabbelier wrote:
> Heya,
> 
> On Mon, Aug 8, 2011 at 19:13, Junio C Hamano <gitster@xxxxxxxxx> wrote:
> >>  (1) It might make sense to give admins who run upload-pack not behind
> >>      smart-http an option to allow fetching from a non-tip; and
> 
> You said earlier it isn't needed since the server process caches the
> refs for git and ssh, that leaves dumb-http right?

It seems that everything currently possible falls into three
categories:

1) Stateful upload-pack (git://, file://, ssh://, CONNECT): No fix
needed.
2) Stateless upload-pack (smart http://, some bizarre helper):
Needs fix to avoid races.
3) Dumb protocols (dumb http://, ftp://, rsync://): Won't invoke
upload-pack anyway, no fix needed.

So I think that the only thing that needs the option to allow
fetching from non-tips is anything using --stateless-rpc.

-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]