Open keepsimple1 opened 1 year ago
Flow control is given back to the peer (in your example the client) when the application reads data via stream_recv. So you can rate limit a stream by managing your read rate in the application.
In this case I'm focusing on POST
requests from the client, which uploads big files to the server. The client will also be using quiche
. Is there something in quiche
API to set max rate (via pacing maybe?) for the upload in the client?
Or did you mean any rate limit can only be done in application itself?
I'm using
quiche
to run a QUIC/H3 server. Sometimes we wanted to rate limit (say, at most 2Mbps) a stream (Http POST) from a client, is it possible with quiche?