Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Wilkins2012-11-08 03:36:48 +0000
committerGreg Wilkins2012-11-08 03:37:07 +0000
commiteaf65a2902acc7bb0794f09323ddace8cbe2e9a8 (patch)
treec09f19e347ca3ab718cd3854def635e9630705df /jetty-websocket
parente615504889a407bf2379955b96abca466d1b6ada (diff)
downloadorg.eclipse.jetty.project-eaf65a2902acc7bb0794f09323ddace8cbe2e9a8.tar.gz
org.eclipse.jetty.project-eaf65a2902acc7bb0794f09323ddace8cbe2e9a8.tar.xz
org.eclipse.jetty.project-eaf65a2902acc7bb0794f09323ddace8cbe2e9a8.zip
393075 1xx 204 and 304 ignore all headers suggesting content
Diffstat (limited to 'jetty-websocket')
-rw-r--r--jetty-websocket/src/test/java/org/eclipse/jetty/websocket/TomcatServerQuirksTest.java11
1 files changed, 7 insertions, 4 deletions
diff --git a/jetty-websocket/src/test/java/org/eclipse/jetty/websocket/TomcatServerQuirksTest.java b/jetty-websocket/src/test/java/org/eclipse/jetty/websocket/TomcatServerQuirksTest.java
index 754a4199db..8fdd3a1b67 100644
--- a/jetty-websocket/src/test/java/org/eclipse/jetty/websocket/TomcatServerQuirksTest.java
+++ b/jetty-websocket/src/test/java/org/eclipse/jetty/websocket/TomcatServerQuirksTest.java
@@ -44,14 +44,15 @@ public class TomcatServerQuirksTest
* @throws IOException
*/
@Test
- @Ignore("Bug with Transfer-Encoding")
- public void testTomcat7_0_32_WithTransferEncoding() throws Exception {
+ public void testTomcat7_0_32_WithTransferEncoding() throws Exception
+ {
DummyServer server = new DummyServer();
int bufferSize = 512;
QueuedThreadPool threadPool = new QueuedThreadPool();
WebSocketClientFactory factory = new WebSocketClientFactory(threadPool, new ZeroMaskGen(), bufferSize);
- try {
+ try
+ {
server.start();
// Setup Client Factory
@@ -113,7 +114,9 @@ public class TomcatServerQuirksTest
socket.flush();
Assert.assertTrue(dataLatch.await(1000, TimeUnit.SECONDS));
- } finally {
+ }
+ finally
+ {
factory.stop();
threadPool.stop();
server.stop();

Back to the top