Welcome! Log In Create A New Profile

Advanced

Re: Iimit_rate for POST operations

Maxim Dounin
July 04, 2018 12:32PM
Hello!

On Wed, Jul 04, 2018 at 05:56:02PM +0200, Jakub Mroziński wrote:

> I would like to throttle requests POSTed by clients. Currently
> limit_rate is only working on traffic from server to client
> (download), is there any specific reason for that it can’t limit
> “upload”?

The most specific reason is that it's not something implemented,
mostly because use cases which require upload limiting are quite
rare in HTTP. And if implemented, it should be called
differently, as upload and download limiting are quite different
things, and using the same directive to control both looks like a
bad idea.

Upload limiting is currently only available in the stream proxy,
see http://nginx.org/r/proxy_upload_rate.

--
Maxim Dounin
http://mdounin.ru/
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Iimit_rate for POST operations

Jakub Mroziński July 04, 2018 11:58AM

Re: Iimit_rate for POST operations

Maxim Dounin July 04, 2018 12:32PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 155
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready