Author: markt
Date: Sat Nov 24 17:55:15 2012
New Revision: 1413224
URL: http://svn.apache.org/viewvc?rev=1413224&view=rev
Log:
Will need separate tests for blocking and non-blcoking upgrade IO
Modified:
tomcat/trunk/test/org/apache/coyote/http11/upgrade/TestUpgradeServletInputStream.java
Modified:
tomcat/trunk/test/org/apache/coyote/http11/upgrade/TestUpgradeServletInputStream.java
URL:
http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/coyote/http11/upgrade/TestUpgradeServletInputStream.java?rev=1413224&r1=1413223&r2=1413224&view=diff
==============================================================================
---
tomcat/trunk/test/org/apache/coyote/http11/upgrade/TestUpgradeServletInputStream.java
(original)
+++
tomcat/trunk/test/org/apache/coyote/http11/upgrade/TestUpgradeServletInputStream.java
Sat Nov 24 17:55:15 2012
@@ -129,7 +129,7 @@ public class TestUpgradeServletInputStre
protected void doGet(HttpServletRequest req, HttpServletResponse resp)
throws ServletException, IOException {
- req.upgrade(new Echo());
+ req.upgrade(new EchoNonBlocking());
}
}
@@ -151,7 +151,7 @@ public class TestUpgradeServletInputStre
}
}
- private static class Echo implements ProtocolHandler {
+ private static class EchoNonBlocking implements ProtocolHandler {
private ServletInputStream sis;
private ServletOutputStream sos;
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]