https://issues.apache.org/bugzilla/show_bug.cgi?id=56513
Christopher Schultz ch...@christopherschultz.net changed:
What|Removed |Added
OS||All
--- Comment #1 from Christopher Schultz ch...@christopherschultz.net ---
(In reply to Martin Gainty from comment #0)
Needs to state:
NIO works with either sendfile OR compression
NIO with Sendfile:
NIO with Compression:
http://tomcat.apache.org/tomcat-7.0-doc/config/http.
html#NIO_specific_configuration states
Also for the APR connector.
(with regards to compression)
Note: There is a tradeoff between using compression (saving your bandwidth)
and using the sendfile feature (saving your CPU cycles). If the connector
supports the sendfile feature, e.g. the NIO connector, using sendfile will
take precedence over compression. The symptoms will be that static files
greater that 48 Kb will be sent uncompressed. You can turn off sendfile by
setting useSendfile attribute of the connector, as documented below, or
change the sendfile usage threshold in the configuration of the
DefaultServlet in the default conf/web.xml or in the web.xml of your web
application.
Needs to say:
NIO works with sendfile feature OR compression
NIO with Sendfile:
NIO with Compression:
Seems reasonable.
Care to submit a documentation patch?
--
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org