Edi Weitz wrote:
On Tue, 29 Jan 2008 23:07:46 +0530, Chaitanya Gupta mail@chaitanyagupta.com wrote:
Or should it be closed explicitly by the app?
Handlers should definitely /not/ close the stream themselves. Hunchentoot is supposed to do the right thing depending on the headers sent back and forth between the client and the server - sometimes it will close the stream, sometimes it won't. You can check with Drakma (for example) if that really happens, but I think it does.
Edi. _______________________________________________ tbnl-devel site list tbnl-devel@common-lisp.net http://common-lisp.net/mailman/listinfo/tbnl-devel
I use drakma regularly to examine what is happening on several Hunchentoot sites and Hunchentoot always seems to take care of closing the streams properly.
Jeff
On Tue, 29 Jan 2008 12:43:54 -0800, "Cunningham, Jeff" jeffrey.k.cunningham@boeing.com wrote:
I use drakma regularly to examine what is happening on several Hunchentoot sites and Hunchentoot always seems to take care of closing the streams properly.
Have you ever checked if it also takes care of /not/ closing the stream if you use Drakma with something like :CLOSE NIL so that you can re-use the stream?
Thanks, Edi.