Author: fhanik Date: Wed Jul 11 19:51:57 2012 New Revision: 1360372 URL: http://svn.apache.org/viewvc?rev=1360372&view=rev Log: Clarify documentation around send file
Modified: tomcat/trunk/webapps/docs/aio.xml Modified: tomcat/trunk/webapps/docs/aio.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/aio.xml?rev=1360372&r1=1360371&r2=1360372&view=diff ============================================================================== --- tomcat/trunk/webapps/docs/aio.xml (original) +++ tomcat/trunk/webapps/docs/aio.xml Wed Jul 11 19:51:57 2012 @@ -343,6 +343,11 @@ public class ChatServlet <li><code>org.apache.tomcat.sendfile.start</code>: Start offset as a Long</li> <li><code>org.apache.tomcat.sendfile.end</code>: End offset as a Long</li> </ul> + <p> + In addition to setting these parameters it is necessary to set the content-length header. + or set a transfer-encoding like chunked. + Tomcat will not do that for you, since you may have already written data to the + </p> </section> --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org