[99s-extend] Cowboy: http request maximum body size

Ivan Uemlianin ivan at llaisdy.com
Tue Jul 9 18:11:50 CEST 2013


Dear All

 From the source [1], it looks like the default maximum request body 
size is 8 million bytes, but this can be set per request, up to 
infinity.  In the latter case there seems to be no upper limit set by 
the server at all, and it will keep reading until some external force 
makes it stop.

That looks handy, if it means I don't have to stipulate a maximum 
request body size (as long as I make sure the machine cowboy is running 
on has a sensible amount of memory).

Is that the case?  If not, please correct.

With thanks and best wishes

Ivan

[1] https://github.com/extend/cowboy/blob/master/src/cowboy_req.erl#L720-746


-- 
============================================================
Ivan A. Uemlianin PhD
Llaisdy
Speech Technology Research and Development

                     ivan at llaisdy.com
                      www.llaisdy.com
                          llaisdy.wordpress.com
               github.com/llaisdy
                      www.linkedin.com/in/ivanuemlianin

                         festina lente
============================================================



More information about the Extend mailing list