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

Graham Dumpleton <[email protected]>
Newsgroups gmane.comp.python.mod_python
Message-ID <[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.