Author: remy.maucherat(a)jboss.com
Date: 2014-11-18 18:01:52 -0500 (Tue, 18 Nov 2014)
New Revision: 2547
Modified:
branches/7.5.x/src/main/java/org/apache/coyote/http11/InternalNioInputBuffer.java
Log:
Revert r2538 except leave all the plumbing and the sync cleanup.
Modified:
branches/7.5.x/src/main/java/org/apache/coyote/http11/InternalNioInputBuffer.java
===================================================================
---
branches/7.5.x/src/main/java/org/apache/coyote/http11/InternalNioInputBuffer.java 2014-11-18
22:10:32 UTC (rev 2546)
+++
branches/7.5.x/src/main/java/org/apache/coyote/http11/InternalNioInputBuffer.java 2014-11-18
23:01:52 UTC (rev 2547)
@@ -146,11 +146,11 @@
}
if (notify) {
- if (listener == null) {
+ //if (listener == null) {
if (!endpoint.processChannel(attachment, SocketStatus.OPEN_READ))
{
endpoint.closeChannel(attachment);
}
- } else {
+ /*} else {
Thread thread = Thread.currentThread();
ClassLoader originalClassLoader =
thread.getContextClassLoader();
try {
@@ -167,7 +167,7 @@
} finally {
thread.setContextClassLoader(originalClassLoader);
}
- }
+ }*/
}
}
Show replies by date