Author: remy.maucherat(a)jboss.com
Date: 2008-03-13 13:35:29 -0400 (Thu, 13 Mar 2008)
New Revision: 500
Modified:
trunk/java/org/apache/coyote/http11/Http11AprProcessor.java
Log:
- Use the proper timeout (cleanup, no functional impact).
Modified: trunk/java/org/apache/coyote/http11/Http11AprProcessor.java
===================================================================
--- trunk/java/org/apache/coyote/http11/Http11AprProcessor.java 2008-03-13 16:50:02 UTC
(rev 499)
+++ trunk/java/org/apache/coyote/http11/Http11AprProcessor.java 2008-03-13 17:35:29 UTC
(rev 500)
@@ -1279,14 +1279,14 @@
// An event is being processed already: adding for resume will be done
// when the socket gets back to the poller
if (!cometProcessing && !resumeNotification) {
- endpoint.getCometPoller().add(socket, timeout, false, false, true);
+ endpoint.getCometPoller().add(socket, cometTimeout, false, false, true);
}
resumeNotification = true;
} else if (actionCode == ActionCode.ACTION_COMET_WRITE) {
// An event is being processed already: adding for write will be done
// when the socket gets back to the poller
if (!cometProcessing && !writeNotification) {
- endpoint.getCometPoller().add(socket, timeout, false, true, false);
+ endpoint.getCometPoller().add(socket, cometTimeout, false, true, false);
}
writeNotification = true;
} else if (actionCode == ActionCode.ACTION_COMET_TIMEOUT) {
Show replies by date