I have also found this thread which describes exactly the same issue:<div><a href="http://osgeo-org.1803224.n2.nabble.com/GetCapabilities-response-being-truncated-td3234081.html" target="_blank">http://osgeo-org.1803224.n2.nabble.com/GetCapabilities-response-being-truncated-td3234081.html</a>
</div><div><br></div><div>Tamas</div><div><br><br><div class="gmail_quote">2012/1/19 Jeff McKenna <span dir="ltr">&lt;<a href="mailto:jmckenna@gatewaygeomatics.com" target="_blank">jmckenna@gatewaygeomatics.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I can verify that this problem exists, it seems to be intermittent, and has been around a while.  I also think it occurs on more Windows versions than are listed here.<br><font color="#888888">
<br>
-jeff</font><div><div></div><div><br>
<br>
<br>
<br>
On 12-01-19 5:51 PM, Tamas Szekeres wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Devs,<br>
<br>
We have experienced strange behaviour of the WMS GetCapabilities<br>
response of MapServer CGI on Windows 2008 and Windows 7 which is<br>
truncated to 4k in size. The same thing happens when invoking mapserv<br>
from the command line and the output is redirected to a file.<br>
<br>
After a bit of investigation, I came to the conclusion that the process<br>
termination doesn&#39;t necessarily flush the file buffers (incl. stdout and<br>
stderr) on Win 2008 and Win 7. This is primarily an OS behaviour which<br>
works correctly on Win2003/XP, but it should probably be fixed in<br>
MapServer by calling fflush(NULL) at the right place. It could probably<br>
be done in the mapserv application or we could also do such things in<br>
msCleanup as well. What would be the most reasonable place to invoke<br>
fflush or do you have a more reasonable approach?<br>
<br>
<br>
</blockquote></div></div><div><div></div><div>
______________________________<u></u>_________________<br>
mapserver-dev mailing list<br>
<a href="mailto:mapserver-dev@lists.osgeo.org" target="_blank">mapserver-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-dev" target="_blank">http://lists.osgeo.org/<u></u>mailman/listinfo/mapserver-dev</a><br>
</div></div></blockquote></div><br></div>