Hi Ronald, Thanks for the reply.
The files are coming out of a database via a servlet custom to the Content Management System we are using. Since raising this post I have discovered that a database setting for the CMC limiting the amount of time an object can be streamed was much to low, I now think this is the underlying cause of file delivery being chunked. I'll post an update after rolling out to live. Many thanks again, Mark. On 18/07/07, Ronald Klop <[EMAIL PROTECTED]> wrote:
Is this static content or served by a custom servlet? If you can set the content-length of the response it shouldn't use chunked encoding. Ronald. PS: I'm not a Tomcat developer, so I could be wrong about this. On Wed Jul 18 14:45:42 CEST 2007 Tomcat Users List <users@tomcat.apache.org> wrote: > Hi all, > > I'm using the HTTP connector and am having a few issues delivering > PDF's from Tomcat 4.1 and was wondering if anyone could shed any > light. > > The problem: > > When requesting a PDF about 1.3MB in size, on the local LAN bypassing > the reverse proxy, it works fine, however when using wget to limit the > connection rate down to about 20kbps Tomcat appears to detect my > connection is slower, and attempts to send a chunk of the file rather > than the whole file, this can be seen in the access log as the request > size changes depending on my connection speed. > > As soon I my request reaches the size reported for this specific > request in the access log, the connection closes, and my client > retries to get the file from the beginning. > > Questions: > > Can I turn this feature off and prevent Tomcat from attempting to > serve byte ranges depending on fast it calculates it will take the > client to download the file. > > Is the Connector setting 'allowChunking=false' the way to go?, is > turning this off known to cause knock on effects HTML/Image delivery? > > > > Thanks in advance. > > Mark. > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] >
--------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]