[tbnl-devel] New version 0.8.8

ChangeLog: Version 0.8.8 2005-12-08 Made RAW-POST-DATA more useful Updated docs w.r.t. Araneida (thanks to Alan Shields) Download: <http://weitz.de/files/tbnl.tar.gz> Cheers, Edi.

I would like to report a bug, which I encountered in TBNL 0.8.2. I've been meaning to work up a patch, but I haven't had the time yet. I don't even have the time to check if the bug is present in 0.8.8. :/ So, please forgive me for merely reporting what I saw, for now. I'm using SBCL 0.9.6, but I suspect that the bug isn't a grotty implementation-specific issue. Basically, when you return the empty string as a response, after about 250 responses, you run out of file handles and everything stops working. To get around it, you can return a string with something in it, or you can do something wonderful like this, around line 123 in modlisp.lisp: (when (or t (plusp content-length)) ;xxx timjr Cheers, Tim

Hi Tim! On Thu, 08 Dec 2005 14:55:41 +0100, "Tim Daly Jr." <tim@tenkan.org> wrote:
I would like to report a bug, which I encountered in TBNL 0.8.2. I've been meaning to work up a patch, but I haven't had the time yet. I don't even have the time to check if the bug is present in 0.8.8. :/ So, please forgive me for merely reporting what I saw, for now.
I'm using SBCL 0.9.6, but I suspect that the bug isn't a grotty implementation-specific issue.
Basically, when you return the empty string as a response, after about 250 responses, you run out of file handles and everything stops working. To get around it, you can return a string with something in it, or you can do something wonderful like this, around line 123 in modlisp.lisp:
(when (or t (plusp content-length)) ;xxx timjr
I can't reproduce this. I wrote a simple example which always returns the empty string and tested with both LispWorks and CMUCL on Linux (behind Apache). In both cases I fired a couple of thousand requests against the server (using ApacheBench) without any problems. Are you using the current version of mod_lisp? <http://www.fractalconcept.com:8000/public/open-source/mod_lisp/> If you still can see the bug with TBNL 0.8.8 and current mod_lisp please let me know. Thanks, Edi.
participants (2)
-
Edi Weitz
-
Tim Daly Jr.