From dev-return-194050-apmail-tomcat-dev-archive=tomcat.apache.org@tomcat.apache.org Fri Oct 12 13:54:54 2018 Return-Path: X-Original-To: apmail-tomcat-dev-archive@www.apache.org Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 82D7A18886 for ; Fri, 12 Oct 2018 13:54:54 +0000 (UTC) Received: (qmail 50713 invoked by uid 500); 12 Oct 2018 13:54:54 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 50633 invoked by uid 500); 12 Oct 2018 13:54:54 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 50621 invoked by uid 99); 12 Oct 2018 13:54:53 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Oct 2018 13:54:53 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 7A3E6E00A4; Fri, 12 Oct 2018 13:54:53 +0000 (UTC) From: Yuanuo To: dev@tomcat.apache.org Reply-To: dev@tomcat.apache.org Message-ID: Subject: [GitHub] tomcat pull request #126: The feature of the transfer rate control are added... Content-Type: text/plain Date: Fri, 12 Oct 2018 13:54:53 +0000 (UTC) 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 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-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org