Re: [PATCH v2] http: add http.maxReceiveSpeed to limit receiving speed of "git-receive-pack"
- From
- Xiaowen Xia <haoyurenzhuxia@gmail.com>
- Date
- Aug 31, 2021, 04:15 UTC
- Message-ID
- <CAHLXgnaS9yocd+OV=uCi+Udd419RTy+=-o7cjD79LyZR5MbpYw@mail.gmail.com>
- In-Reply-To
- <CANYiYbEL2T897jMZFg_F-AgomrEj3EcEC2ZTyBZMB550k_PPbQ@mail.gmail.com>
Thanks for Jiang Xin's reply, it's very helpful.
But I carefully considered the purpose of this patch this week. As Jeff King and Randall said, speed-limiting should be the function of the operating system or the switch/router, and I agree with it. Users may not need to limit the speed for `git-receive-pack` in most cases. On the other side, for the ssh protocol, there is no way to limiting speed in git. Please ignore this patch In general.