This is an automated email from the ASF dual-hosted git repository.
remm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/master by this push:
new 0457ec8 Call the right completion handler
0457ec8 is described below
commit 0457ec81c241fdbc0b6eebe2279ec924d46f373a
Author: remm <[email protected]>
AuthorDate: Thu May 16 23:58:55 2019 +0200
Call the right completion handler
This won't make any real difference here though as the socket will be
closed, but after getting the semaphore it should be released, along
with the rest of the cleanup.
---
java/org/apache/tomcat/util/net/SocketWrapperBase.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/java/org/apache/tomcat/util/net/SocketWrapperBase.java
b/java/org/apache/tomcat/util/net/SocketWrapperBase.java
index f23764f..4207fd3 100644
--- a/java/org/apache/tomcat/util/net/SocketWrapperBase.java
+++ b/java/org/apache/tomcat/util/net/SocketWrapperBase.java
@@ -1484,7 +1484,7 @@ public abstract class SocketWrapperBase<E> {
return CompletionState.ERROR;
}
} catch (InterruptedException e) {
- handler.failed(new SocketTimeoutException(),
attachment);
+ completion.failed(new SocketTimeoutException(), state);
return CompletionState.ERROR;
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]