Re: dropping a connection abruptly

2006-10-23 Thread Issac Goldstand
Take a look at mod_apreq (http://httpd.apache.org/apreq/) Specifically,you may want to read http://www.mail-archive.com/apreq-dev@httpd.apache.org/msg00716.html Issac Brian McQueen wrote: I need to be able to stop users from uploading a massive file promptly/early. By the time the headers

Re: dropping a connection abruptly

2006-10-23 Thread Roy T. Fielding
On Oct 23, 2006, at 1:35 PM, Brian McQueen wrote: The issue isn't really the limit, but the way Apache behaves when it encounters the limit. When Apache encounters the limit it still reads then entire incoming byte stream, even if its only throwing it away. That is as demanded by the HTTP

Re: dropping a connection abruptly

2006-10-23 Thread Brian McQueen
This is sounding good. How do I gain the level of control that you are describing here? The request_rec has a conn_rec, but I don't see how to get beyond that. If I've successfully read 4096 bytes, how do I then stop any further transactions on the socket? I don't know how to grab the socket