You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2015/01/23 20:19:49 UTC

svn commit: r1654334 - /tomcat/trunk/java/org/apache/coyote/ajp/AjpProcessor.java

Author: markt
Date: Fri Jan 23 19:19:49 2015
New Revision: 1654334

URL: http://svn.apache.org/r1654334
Log:
Replace registerForEvent() with equivalent call that makes registerForEvent() unused (for AJP).

Modified:
    tomcat/trunk/java/org/apache/coyote/ajp/AjpProcessor.java

Modified: tomcat/trunk/java/org/apache/coyote/ajp/AjpProcessor.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/coyote/ajp/AjpProcessor.java?rev=1654334&r1=1654333&r2=1654334&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/coyote/ajp/AjpProcessor.java (original)
+++ tomcat/trunk/java/org/apache/coyote/ajp/AjpProcessor.java Fri Jan 23 19:19:49 2015
@@ -582,7 +582,7 @@ public class AjpProcessor<S> extends Abs
         }
         case NB_READ_INTEREST: {
             if (!endOfStream) {
-                registerForEvent(true, false);
+                socketWrapper.regsiterForEvent(true, false);
             }
             break;
         }
@@ -644,7 +644,7 @@ public class AjpProcessor<S> extends Abs
                     request.setAttribute(RequestDispatcher.ERROR_EXCEPTION, x);
                 }
             } catch (IllegalStateException x) {
-                registerForEvent(false, true);
+                socketWrapper.regsiterForEvent(false, true);
             }
         } else if (status == SocketStatus.OPEN_READ &&
                 request.getReadListener() != null) {
@@ -653,7 +653,7 @@ public class AjpProcessor<S> extends Abs
                     asyncStateMachine.asyncOperation();
                 }
             } catch (IllegalStateException x) {
-                registerForEvent(true, false);
+                socketWrapper.regsiterForEvent(true, false);
             }
         }
 



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org