You get the request object in rack, so you could write your own Rack middleware 
to do whatever you like with a larger than average body. 

-- 
Richard Schneeman
http://heroku.com

@schneems (http://twitter.com/schneems)




On Sunday, November 11, 2012 at 7:29 PM, Jonathan Baudanza wrote:

> I don't know of any way to configure the heroku stack to do this.
> 
> What problem are you trying to solve? If you're worried about slow clients, 
> using a webserver like thin should be sufficient.
> 
> On Fri, Nov 9, 2012 at 11:54 PM, Fabiano PS <[email protected] 
> (mailto:[email protected])> wrote:
> > Hi,
> > 
> > Is there a way for me to configure Heroku to limit the maximum size/length 
> > that an user may submit to my site hosted at heroku? Apache and Ngix 
> > support it, and setting this limit would be very important to protect my 
> > website stability. 
> > 
> > Thanks 
> > 
> > -- 
> > You received this message because you are subscribed to the Google
> > Groups "Heroku" group.
> >  
> > To unsubscribe from this group, send email to
> > [email protected] 
> > (mailto:heroku%[email protected])
> > For more options, visit this group at
> > http://groups.google.com/group/heroku?hl=en_US?hl=en
> 
> -- 
> You received this message because you are subscribed to the Google
> Groups "Heroku" group.
>  
> To unsubscribe from this group, send email to
> [email protected] 
> (mailto:[email protected])
> For more options, visit this group at
> http://groups.google.com/group/heroku?hl=en_US?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Heroku" group.

To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/heroku?hl=en_US?hl=en

Reply via email to