<br><br><div class="gmail_quote">2009/2/17 Lukas Renggli <span dir="ltr">&lt;<a href="mailto:renggli@gmail.com">renggli@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">&gt; Could someone (maybe Lukas) explain to me why does it need to do the<br>
&gt; following lines(*) when a cometRequest is &quot;delivered&quot;?<br>
&gt;<br>
&gt; (*)CTHandler&gt;&gt;basicTerminate<br>
&gt; &nbsp; &nbsp; thisContext swapSender: nil.<br>
&gt; &nbsp; &nbsp; Processor activeProcess terminate<br>
<br>
</div>This avoids that the stack to is unwound that that ensure blocks are executed.<br>
<br>
If that would not be done, then Seaside would generate an (empty)<br>
response and pass this response back to the web server. The web server<br>
would serialize this response onto the socket and flush and close the<br>
connection. These are all things that we don&#39;t want: we don&#39;t want a<br>
response to be created yet and we want the connection to stay open so<br>
that we can later stream contents to the other end. The above code<br>
makes that possible.<br>
</blockquote><div><br><br>Thanks a lot Lukas. Now I understand it =D<br>Lautaro Fernández<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Lukas<br>
<font color="#888888"><br>
--<br>
Lukas Renggli<br>
<a href="http://www.lukas-renggli.ch" target="_blank">http://www.lukas-renggli.ch</a><br>
_______________________________________________<br>
seaside mailing list<br>
<a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Luke LAut SkyFernadezWalker<br>