Thanks Jason and Evan. This was exactly the application that I had in mind for such a configuration so the explanations were spot on. I suppose that any kind of upload exposes a certain level of risk and I was just curious how others had managed it. Makes sense to look further up the processing chain. -Charles. ----- Original Message ----- From: "Evan LaForge"To: Sent: Tuesday, May 18, 2004 12:10 PM Subject: Re: [Quixote-users] upper size limit on POST data? > > > > Is there a way to limit the maximum size of data submitted in a POST in > > > Quixote? Maybe the right answer is to just use Apache's LimitRequestBody > > > configuration? > > > > I assume you're concerned about some kind of DoS, or the like... My answer > > reflects that assumption. Maybe someone else can shed some more light on thi > > s, > > but... > > > > ...the short answer is no. > > You can set cgi.maxlen and then catch the ValueError from > publisher.parse_request, but if apache (or whatever web server) does indeed > read the whole POST instead of handing the socket directly to the CGI script > then this will just save some extra parsing time, not save your RAM. > > LimitRequestBody looks like what you want. > > _______________________________________________ > Quixote-users mailing list > Quixote-users@mems-exchange.org > http://mail.mems-exchange.org/mailman/listinfo/quixote-users >