Author: remm
Date: Wed Oct 7 09:09:52 2015
New Revision: 1707210
URL: http://svn.apache.org/viewvc?rev=1707210&view=rev
Log:
Cleanup logic (no change).
Modified:
tomcat/trunk/java/org/apache/tomcat/util/net/SecureNio2Channel.java
Modified: tomcat/trunk/java/org/apache/tomcat/util/net/SecureNio2Channel.java
URL:
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/net/SecureNio2Channel.java?rev=1707210&r1=1707209&r2=1707210&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/util/net/SecureNio2Channel.java
(original)
+++ tomcat/trunk/java/org/apache/tomcat/util/net/SecureNio2Channel.java Wed Oct
7 09:09:52 2015
@@ -86,9 +86,9 @@ public class SecureNio2Channel extends N
public void completed(Integer result,
SocketWrapperBase<Nio2Channel> attachment) {
if (result.intValue() < 0) {
failed(new EOFException(), attachment);
- return;
+ } else {
+ endpoint.processSocket(attachment, SocketStatus.OPEN_READ,
false);
}
- endpoint.processSocket(attachment, SocketStatus.OPEN_READ,
false);
}
@Override
public void failed(Throwable exc, SocketWrapperBase<Nio2Channel>
attachment) {
@@ -100,9 +100,9 @@ public class SecureNio2Channel extends N
public void completed(Integer result,
SocketWrapperBase<Nio2Channel> attachment) {
if (result.intValue() < 0) {
failed(new EOFException(), attachment);
- return;
+ } else {
+ endpoint.processSocket(attachment,
SocketStatus.OPEN_WRITE, false);
}
- endpoint.processSocket(attachment, SocketStatus.OPEN_WRITE,
false);
}
@Override
public void failed(Throwable exc, SocketWrapperBase<Nio2Channel>
attachment) {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]