Author: remy.maucherat(a)jboss.com
Date: 2012-11-09 11:52:26 -0500 (Fri, 09 Nov 2012)
New Revision: 2119
Modified:
branches/7.2.x/src/main/java/org/apache/coyote/http11/Http11NioProtocol.java
Log:
Remove difference with APR that causes async issues. The endpoint appears to be doing the
right thing about listening anyway.
Modified: branches/7.2.x/src/main/java/org/apache/coyote/http11/Http11NioProtocol.java
===================================================================
---
branches/7.2.x/src/main/java/org/apache/coyote/http11/Http11NioProtocol.java 2012-11-09
15:13:33 UTC (rev 2118)
+++
branches/7.2.x/src/main/java/org/apache/coyote/http11/Http11NioProtocol.java 2012-11-09
16:52:26 UTC (rev 2119)
@@ -905,9 +905,9 @@
// a recycled processor.
connections.put(channel.getId(), processor);
- if ( /* processor.isAvailable() && */processor.getReadNotifications()) {
+ if (processor.isAvailable() && processor.getReadNotifications()) {
// Call a read event right away
- processor.inputBuffer.readAsync();
+ state = event(channel, SocketStatus.OPEN_READ);
} else {
proto.endpoint.addEventChannel(channel, processor.getTimeout(),
processor.getReadNotifications(), false,
Show replies by date