Author: remy.maucherat(a)jboss.com
Date: 2007-10-23 08:22:37 -0400 (Tue, 23 Oct 2007)
New Revision: 322
Modified:
branches/2.0.x/src/share/classes/org/apache/coyote/ajp/AjpProcessor.java
branches/2.0.x/src/share/classes/org/apache/coyote/ajp/AjpProtocol.java
Log:
- Port patch: harmonize with HTTP connector.
Modified: branches/2.0.x/src/share/classes/org/apache/coyote/ajp/AjpProcessor.java
===================================================================
--- branches/2.0.x/src/share/classes/org/apache/coyote/ajp/AjpProcessor.java 2007-10-23
11:22:51 UTC (rev 321)
+++ branches/2.0.x/src/share/classes/org/apache/coyote/ajp/AjpProcessor.java 2007-10-23
12:22:37 UTC (rev 322)
@@ -355,7 +355,7 @@
*
* @throws IOException error during an I/O operation
*/
- public boolean process(Socket socket)
+ public void process(Socket socket)
throws IOException {
RequestInfo rp = request.getRequestProcessor();
rp.setStage(org.apache.coyote.Constants.STAGE_PARSE);
@@ -471,8 +471,6 @@
input = null;
output = null;
- return true;
-
}
Modified: branches/2.0.x/src/share/classes/org/apache/coyote/ajp/AjpProtocol.java
===================================================================
--- branches/2.0.x/src/share/classes/org/apache/coyote/ajp/AjpProtocol.java 2007-10-23
11:22:51 UTC (rev 321)
+++ branches/2.0.x/src/share/classes/org/apache/coyote/ajp/AjpProtocol.java 2007-10-23
12:22:37 UTC (rev 322)
@@ -363,7 +363,8 @@
((ActionHook) processor).action(ActionCode.ACTION_START, null);
}
- return processor.process(socket);
+ processor.process(socket);
+ return false;
} catch(java.net.SocketException e) {
// SocketExceptions are normal
Show replies by date