Forum Discussion

Gregory_Gerard_'s avatar
Gregory_Gerard_
Icon for Nimbostratus rankNimbostratus
Sep 05, 2007

Limiting file upload sizes in 9.3?

I'd like to shutdown the transfer as fast as possible if a file upload to a given URL is too big.

 

 

1. Do all the Yahoo grade A browsers behave well when uploading files wrt sizes and Content-Length?

 

2. If I send the redirect to the naughty-user page while the browser is still uploading, will it be observed?

 

3. Can I rate control it on the fly? Small uploads go in one band, larger files in another?

 

 

I'm going to try some things experimentally, but was wondering if anyone had experience in this realm?

 

 

thanks,

 

greg
  • Thanks for the reply and link.

     

     

    So to sanitize traffic, I might just limit the content pushed to us anyways by keeping track of the HTTP data received and if it's larger than a threshold, cut the connection.

     

     

    Is this feasible and could I expect it to perform well?
  • Any links on how to do this correctly?

     

     

    Also, if I licensed the rate-shaping modules, could I speed up or slow down a connection on the fly?