<?xml version="1.0"?>
<rss version="2.0">
  <channel><title>Caudium 1.5: Incomplete CGI/uniscript pages fixed (available for Caudium 1.4 now)</title><link>http://bertrand.gotpike.org//space/start/2006-02-15/1</link><description>I had some problems with &lt;a href="PHP pages not fully displayed" class="wiki_link_external" &gt;http://lists.oav.net/wws/arc/caudium-general/2006-02/thrd1.html&lt;/a&gt; on my darwin box and on some Debian Sarge machines. With the &lt;a href="help of others Caudium developpers" class="wiki_link_external" &gt;http://lists.oav.net/wws/arc/caudium-devel/2006-02/&lt;/a&gt;, the problem has been hopefully fixed.&lt;p class="paragraph"/&gt;
Sometimes these modules couldn't write the data on their output file descriptor and hung. The fix was to have a callback for writing the data once the file descriptor can accept them. There's a new option ins the Caudium configuration interface which limit the real time the CGI module should wait for this callback. It's labelled "Limits: Timeout when network buffer is full".&lt;p class="paragraph"/&gt;
Detailed fix for incomplete CGI pages: &lt;span class="nobr"&gt;&lt;img height="9" width="8" src="/static/images/Icon-Extlink.png" alt="&amp;#91;external]"/&gt;&lt;a href="http://cvsweb.caudiumforge.net/cgi-bin/cvsweb.cgi/caudium/server/modules/scripting/cgi.pike.diff?r1=1.60;r2=1.56;cvsroot=caudium;f=h"&gt;http://cvsweb.caudiumforge.net/cgi-bin/cvsweb.cgi/caudium/server/modules/scripting/cgi.pike.diff?r1=1.60;r2=1.56;cvsroot=caudium;f=h&lt;/a&gt;&lt;/span&gt;&lt;p class="paragraph"/&gt;
The fix is available on CVS head for now, up from 1.60 and is totally compatible with Caudium 1.4. It should be backported soon and be available on forthcoming Caudium 1.4.8.&lt;p class="paragraph"/&gt;
&#xD;
What can you see in your debug log now?&#xD;
&lt;ul class="minus"&gt;
&lt;li&gt;CGI:Wrapper::done() Some data from the buffer hasn't been sent, yet&lt;/li&gt;
&lt;/ul&gt;This means the CGI module was unable to send its data. It's now waiting for a callback for writing them. That's just a warning, in most cases, the module will get the callback and data will be written.&#xD;
&lt;ul class="minus"&gt;
&lt;li&gt;CGI:Wrapper::destroy() killed while there was still data in the buffer&lt;/li&gt;
&lt;/ul&gt;The CGI module was waiting for a callback (see the previous warning), but the callback didn't happened before the "Timeout when network buffer is full" options. The request have been aborted, the page won't be totally sent to the client.&lt;p class="paragraph"/&gt;
Check out &lt;a href="instructions for running PHP with Caudium" class="wiki_link_external" &gt;http://caudium.net/server/docs/related/php4.rxml&lt;/a&gt; for more informations.</description><generator>Fins 0.9.7</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs></channel>
</rss>
