GitHub user Yuanuo opened a pull request: https://github.com/apache/tomcat/pull/126
The feature of the transfer rate control are added to the sendfile. The Sendfile feature has been added with the characteristics of the transfer rate control, which can be individually limited for each sendfile process. Use a double value in megabytes per second. has been tested by: APR, NIO, NIO2 these three kinds of connector modes. And the initial parameter "sendfilerate" configuration support for global Defaultservlet. BTWï¼The org.apache.tomcat.util.net.RateLimiter is copied from lucene-core-7.5.0.jar. You can merge this pull request into a Git repository by running: $ git pull https://github.com/Yuanuo/tomcat feature-sendfile-rate-limit-support Alternatively you can review and apply these changes as the patch at: https://github.com/apache/tomcat/pull/126.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #126 ---- commit 17c0e917fe1d9a80d31134d305a9cc38a761f3cb Author: Yuanuo <afeinet@...> Date: 2018-10-12T13:51:34Z The feature of the transfer rate control are added to the sendfile. The Sendfile feature has been added with the characteristics of the transfer rate control, which can be individually limited for each sendfile process. Use a double value in megabytes per second. has been tested by: APR, NIO, NIO2 these three kinds of connector modes. And the initial parameter "sendfilerate" configuration support for global Defaultservlet. ---- --- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org