[hunchentoot-devel] Maximum Request Size

Volkan YAZICI yazicivo at ttmail.com
Wed Jan 21 16:22:43 UTC 2009


Hi,

Here are two patches[1][2] for both flexi-streams and hunchentoot. First
patch makes flexi-streams to signal a condition when stream BOUND gets
exceeded -- documentation and tests are included. Second one uses
freshly introduced flexi-streams feature to limit the maximum request
size.

The latter hunchentoot patch is not well tested, doesn't include any
documentation, replaces (raw-post-data ...) call with (clear-input ...)
to flush the input stream (thus, can have chunking and common lisp
implementation/platform related problems). It appears to be working for
me, I hope it would for you as well.

Thanks Hans Huebner for his kindly helps and Edi Weitz for his
uninterest in any effort.


Regards.

P.S. Enhancements are patched against the repositories located at
     http://bknr.net/svn/ediware address.

[1] http://www.students.itu.edu.tr/~yazicivo/tmp/flexi-streams-bound-invalidation-condition.patch.txt

[2] http://www.students.itu.edu.tr/~yazicivo/tmp/hunchentoot-request-size-limit.patch.txt




More information about the Tbnl-devel mailing list