[RFC] push over http

Vadim Gelfer vadim.gelfer at gmail.com
Thu Jun 15 22:28:17 CDT 2006


here is early version of push over http. please review.

this is streaming code. even big pushes are ok.

client cannot lock server, like with new ssh push code what is in crew.

i have made basic code work but no check yet for authentication or
authorization. will do that soon. also not tested through proxy yet.

plan is to disable push over http by default.
will allow push if:

- push over http enabled (in hgrc) and
- anonymous push allowed (like inside company firewall) or
  - user authenticated (checked by httpd or "hg serve") and
  - user authorized to push (in hgrc)

i will also provide config option to only allow push if ssl used.

tell me please if you have comments or other needs.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: push-http.patch
Type: text/x-patch
Size: 8648 bytes
Desc: not available
Url : http://www.selenic.com/pipermail/mercurial/attachments/20060615/2893c03e/push-http.bin


More information about the Mercurial mailing list