<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#333333">
Edi Weitz wrote:
<blockquote
cite="mid:F014AD23EEB9B9469410D7F0334C93D30711CE26@XCH-NW-4V2.nw.nos.boeing.com"
type="cite">
<pre wrap="">On Tue, 29 Jan 2008 23:07:46 +0530, Chaitanya Gupta <a class="moz-txt-link-rfc2396E" href="mailto:mail@chaitanyagupta.com"><mail@chaitanyagupta.com></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Or should it be closed explicitly by the app?
</pre>
</blockquote>
<pre wrap=""><!---->
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
<a class="moz-txt-link-abbreviated" href="mailto:tbnl-devel@common-lisp.net">tbnl-devel@common-lisp.net</a>
<a class="moz-txt-link-freetext" href="http://common-lisp.net/mailman/listinfo/tbnl-devel">http://common-lisp.net/mailman/listinfo/tbnl-devel</a>
</pre>
</blockquote>
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. <br>
<br>
Jeff<br>
</body>
</html>