[jbossweb-commits] JBossWeb SVN: r224 - branches/2.0.x/src/share/classes/org/apache/coyote/http11.
jbossweb-commits at lists.jboss.org
jbossweb-commits at lists.jboss.org
Wed Aug 15 11:33:52 EDT 2007
Author: remy.maucherat at jboss.com
Date: 2007-08-15 11:33:52 -0400 (Wed, 15 Aug 2007)
New Revision: 224
Modified:
branches/2.0.x/src/share/classes/org/apache/coyote/http11/Http11AprProcessor.java
Log:
- Recycling glitch when ending comet processing.
Modified: branches/2.0.x/src/share/classes/org/apache/coyote/http11/Http11AprProcessor.java
===================================================================
--- branches/2.0.x/src/share/classes/org/apache/coyote/http11/Http11AprProcessor.java 2007-08-15 15:33:21 UTC (rev 223)
+++ branches/2.0.x/src/share/classes/org/apache/coyote/http11/Http11AprProcessor.java 2007-08-15 15:33:52 UTC (rev 224)
@@ -750,9 +750,13 @@
rp.setStage(org.apache.coyote.Constants.STAGE_ENDED);
if (error) {
+ inputBuffer.nextRequest();
+ outputBuffer.nextRequest();
recycle();
return SocketState.CLOSED;
} else if (!comet) {
+ inputBuffer.nextRequest();
+ outputBuffer.nextRequest();
recycle();
return SocketState.OPEN;
} else {
@@ -905,6 +909,8 @@
if (comet) {
if (error) {
+ inputBuffer.nextRequest();
+ outputBuffer.nextRequest();
recycle();
return SocketState.CLOSED;
} else {
More information about the jbossweb-commits
mailing list