[PATCH]add new http status code

Manlio Perillo manlio.perillo at gmail.com
Tue May 8 21:24:33 UTC 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Il 08/05/2012 21:39, Maxim Dounin ha scritto:
> [...]
>> Blew is patch(for Nginx trunk) to use 429 replace 400 when request header
>> is too large,
>> and use 431 replace 503 when find too many request(limit_req module). in
>> addition to add new http status code 511.
> 
> There are no plans to replace returned status codes in near 
> future, at least not before we have clear understanding of effects 
> of new codes on behaviour of various clients.
> 
> And in case of limit_req/limit_conn this might happen at all due 
> to compatibility reasons: there are lots of configs out there 
> which expect 503 to be returned.
> 

For limit_req/limit_conn this should not be a problem, since the error
code to return can be made configurable.


Regards  Manlio
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk+pjxEACgkQscQJ24LbaURa/ACcDXAYXTZqh2jAmgwCytH6Y5/8
LZgAniWxKuBoMTbZG4wo+AYM7BF6U59j
=Lsnd
-----END PGP SIGNATURE-----



More information about the nginx-devel mailing list