You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by fh...@apache.org on 2012/07/11 21:51:58 UTC
svn commit: r1360372 - /tomcat/trunk/webapps/docs/aio.xml
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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
RE: svn commit: r1360372 - /tomcat/trunk/webapps/docs/aio.xml
Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: fhanik@apache.org [mailto:fhanik@apache.org]
> Subject: svn commit: r1360372 - /tomcat/trunk/webapps/docs/aio.xml
> Author: fhanik
> Date: Wed Jul 11 19:51:57 2012
> New Revision: 1360372
> URL: http://svn.apache.org/viewvc?rev=1360372&view=rev
> + In addition to setting these parameters it is necessary to set the content-length header.
> + or set a transfer-encoding like chunked.
You might want to change the period after "content-length header" to a comma for grammatical correctness.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
RE: svn commit: r1360372 - /tomcat/trunk/webapps/docs/aio.xml
Posted by "Filip Hanik (mailing lists)" <de...@hanik.com>.
Will fix
> -----Original Message-----
> From: Mark Thomas [mailto:markt@apache.org]
> Sent: Wednesday, July 11, 2012 4:03 PM
> To: Tomcat Developers List
> Subject: Re: svn commit: r1360372 - /tomcat/trunk/webapps/docs/aio.xml
>
> On 11/07/2012 20:51, fhanik@apache.org wrote:
> > 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=13603
> 72&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>
>
> Looks like a line / word or two is missing in this commit.
>
> Mark
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: dev-help@tomcat.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
Re: svn commit: r1360372 - /tomcat/trunk/webapps/docs/aio.xml
Posted by Mark Thomas <ma...@apache.org>.
On 11/07/2012 20:51, fhanik@apache.org wrote:
> 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>
Looks like a line / word or two is missing in this commit.
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org