>You modify r->limit_rate and r->limit_rate_after from your module
>after sending some parts of the response?
Yes. This isn't a bug but a requirement, so we need handle it.
OK, I got your idea and no more questions. Thanks.
At 2023-12-27 21:58:48, "Maxim Dounin" wrote:
>Hello!
>
>
Hello!
On Wed, Dec 27, 2023 at 08:38:15PM +0800, Jiuzhou Cui wrote:
> Thank you for your reply.
>
> Firstly, we meet the problem. And this patch works for me.
>
> My scenario is after send response body about 10-20MB, we just set:
> 1. limit_rate = 1KB
> 2. limit_rate_after = body_bytes_sent
>
Hello!
On Wed, Dec 27, 2023 at 10:56:44AM +0800, Jiuzhou Cui wrote:
> Hello!
>
>
> # HG changeset patch
> # User Jiuzhou Cui
> # Date 1703645578 -28800
> # Wed Dec 27 10:52:58 2023 +0800
> # Node ID 474ae07e47272e435d81c0ca9e4867aae35c30ab
> # Parent ee40e2b1d0833b46128a357fbc84c6e23be9b