Correct copy and pasted comment
Also fix @Override warning for the method
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@992882
13f79535-47bb-0310-9956-
ffa450edef68
*/
protected class AsyncTimeout implements Runnable {
/**
- * The background thread that listens for incoming TCP/IP connections and
- * hands them off to an appropriate processor.
+ * The background thread that checks async requests and fires the
+ * timeout if there has been no activity.
*/
+ @Override
public void run() {
// Loop until we receive a shutdown command
}
// Loop if endpoint is paused
- while (paused) {
+ while (paused && running) {
try {
Thread.sleep(1000);
} catch (InterruptedException e) {
Make sure acceptor threads are stopped when the connector is stopped.
(markt)
</fix>
+ <fix>
+ Make sure async timeout thread is stopped when the connector is stopped.
+ (markt)
+ </fix>
</changelog>
</subsection>
<subsection name="Jasper">