Author: remm
Date: Mon Jan 28 10:48:42 2019
New Revision: 1852343
URL: http://svn.apache.org/viewvc?rev=1852343&view=rev
Log:
Fix incorrect APR sendfile thread stop.
Modified:
tomcat/trunk/java/org/apache/tomcat/util/net/AprEndpoint.java
tomcat/trunk/webapps/docs/changelog.xml
Modified: tomcat/trunk/java/org/apache/tomcat/util/net/AprEndpoint.java
URL:
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/net/AprEndpoint.java?rev=1852343&r1=1852342&r2=1852343&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/util/net/AprEndpoint.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/util/net/AprEndpoint.java Mon Jan 28
10:48:42 2019
@@ -1975,7 +1975,7 @@ public class AprEndpoint extends Abstrac
sendfileThread.start();
}
- protected void stop() {
+ protected synchronized void stop() {
sendfileRunning = false;
// Wait for the sendfile thread to exit, otherwise parallel
Modified: tomcat/trunk/webapps/docs/changelog.xml
URL:
http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/changelog.xml?rev=1852343&r1=1852342&r2=1852343&view=diff
==============================================================================
--- tomcat/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/trunk/webapps/docs/changelog.xml Mon Jan 28 10:48:42 2019
@@ -152,6 +152,9 @@
Fix use of write timeout instead of read timeout for HTTP/2 NIO2
frame read. (remm)
</fix>
+ <fix>
+ Fix incorrect APR sendfile thread stop. (remm)
+ </fix>
</changelog>
</subsection>
<subsection name="Jasper">
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]