Re: [WIP 0/7] CDN offloading of fetch response

2019-03-04 Thread Christian Couder
Hi, On Fri, Mar 1, 2019 at 12:21 AM Jonathan Nieder wrote: > > Sorry for the slow followup. Thanks for probing into the design --- > this should be useful for getting the docs to be clear. > > Christian Couder wrote: > > > So it's likely that users will want a way to host on such sites > > incom

Re: [WIP 0/7] CDN offloading of fetch response

2019-03-04 Thread Christian Couder
On Tue, Feb 26, 2019 at 10:12 AM Ævar Arnfjörð Bjarmason wrote: > > On Tue, Feb 26 2019, Christian Couder wrote: > > > On Tue, Feb 26, 2019 at 12:45 AM Jonathan Nieder wrote: > >> But the same thing can happen with redirects, with embedded assets in > >> web pages, and so on. > > > > I don't thi

Re: [WIP 0/7] CDN offloading of fetch response

2019-02-28 Thread Jonathan Nieder
Hi, Sorry for the slow followup. Thanks for probing into the design --- this should be useful for getting the docs to be clear. Christian Couder wrote: > So it's likely that users will want a way to host on such sites > incomplete repos using CDN offloading to a CDN on another site. And > then

Re: [WIP 0/7] CDN offloading of fetch response

2019-02-26 Thread Ævar Arnfjörð Bjarmason
On Tue, Feb 26 2019, Christian Couder wrote: > Hi, > > On Tue, Feb 26, 2019 at 12:45 AM Jonathan Nieder wrote: >> >> Christian Couder wrote: >> > On Sun, Feb 24, 2019 at 12:39 AM Jonathan Tan >> > wrote: >> >> > Especially I'd like to know what should the client do if they find out >> > that

Re: [WIP 0/7] CDN offloading of fetch response

2019-02-26 Thread Christian Couder
Hi, On Tue, Feb 26, 2019 at 12:45 AM Jonathan Nieder wrote: > > Christian Couder wrote: > > On Sun, Feb 24, 2019 at 12:39 AM Jonathan Tan > > wrote: > > > Especially I'd like to know what should the client do if they find out > > that for example a repo that contains a lot of large files is > >

Re: [WIP 0/7] CDN offloading of fetch response

2019-02-25 Thread Jonathan Nieder
Hi, Christian Couder wrote: > On Sun, Feb 24, 2019 at 12:39 AM Jonathan Tan > wrote: >> There are probably some more design discussions to be had: > > [...] > >> - Client-side whitelist of protocol and hostnames. I've implemented >>whitelist of protocol, but not hostnames. > > I would appr

Re: [WIP 0/7] CDN offloading of fetch response

2019-02-25 Thread Christian Couder
On Sun, Feb 24, 2019 at 12:39 AM Jonathan Tan wrote: > There are probably some more design discussions to be had: [...] > - Client-side whitelist of protocol and hostnames. I've implemented >whitelist of protocol, but not hostnames. I would appreciate a more complete answer to my comments

[WIP 0/7] CDN offloading of fetch response

2019-02-23 Thread Jonathan Tan
It's been a while, so here is an updated version of what I previously sent [1]. The main difference is that fetch-pack now actually downloads whatever the server tells it to. The second main difference is that we no longer buffer progress messages and suspend keepalives - we no longer need to, beca