Re: problem with input filter and POST data (fileupload)

Graham Dumpleton <[email protected]>
Newsgroups gmane.comp.python.mod_python
Message-ID <[email protected]>
BTW, am still interested to know what the input filter does.

In mod_wsgi will most likely be adding ability to optionally hook into
Apache handler phases much like mod_python, except for content phase
which would be WSGI, but without all the extra crud on top that
mod_python has. Also been thinking about supporting filters, but since
am less convinced about the usefulness of them given performance
concerns, would like to know what you using filters for.

Graham

2009/2/16 Graham Dumpleton <[email protected]>:
> 2009/2/16 Joerg <[email protected]>:
>> just one thing,
>>
>> from apache include/httpd.h:
>> ...
>>  #define   HUGE_STRING_LEN   8192
>> ...
>>
>> wot a coincidence ;)
>
> Yeah, there are lots of magic numbers in Apache. For 256 and 8000
> popping up see interesting problem in:
>
>  http://groups.google.com/group/modwsgi/browse_frm/thread/e7111816e70d236a
>
> Something would work if data < 256 or > ~8000, but not if between the
> two bounds. Wasn't exactly 8000 because of some allowance for header
> information (I think).
>
> Turned out to be some silly optimisation Apache was attempting to do.
> The optimisation only got applied if keep alive was requested by
> client and enabled in server.
>
> Graham
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.