When returning SocketState.CLOSED, recycle is always called
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1136099 13f79535-47bb-0310-9956-
ffa450edef68
if (isAsync()) {
if (error) {
request.updateCounters();
- input = null;
- output = null;
return SocketState.CLOSED;
} else {
return SocketState.LONG;
}
} else {
request.updateCounters();
- input = null;
- output = null;
return SocketState.CLOSED;
}
-
-
}
+ @Override
+ public void recycle() {
+ super.recycle();
+ input = null;
+ output = null;
+ }
+
// ----------------------------------------------------- ActionHook Methods