Hello!

When using Tomcat 6.0.10, Tomcat Native library 1.1.8 and requesting a big 
static file from the server, the file's size is neither written to the access 
log (it contains a '-' in the response size field) nor added to value the 
Server Status page shows as "Bytes sent".
If I add useSendfile="false" to the Connector's configuration the response 
size is written to the access log but it still doesn't add to the "Bytes 
sent" value.[1]
Using the Base Connector, the response size is logged and added to "Bytes 
sent".

Is there a way to use APR and sendfile and still get the Base Connector's 
behaviour wrt the response size? If so, which?

Regards
  mks

[1] In fact, I've not seen any other value than "0.00 MB" for "Bytes sent" 
or "Bytes received" on the Server Status page - regardless whether the 
traffic was generated by servlets or static files.
Tomcat 5.5.20 behaves slightly different: with APR and useSendfile="true" it 
will not add the traffic generated by static files but it will add the 
dynamically created traffic. Using APR but useSendfile="false" it will log 
the response size and show it on the Server Status page.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to