From 6ed95152ddfbff2771b9bb2d0b0497625597b1e2 Mon Sep 17 00:00:00 2001 From: Simone Bordet Date: Sat, 25 Feb 2012 22:58:43 +0100 Subject: [PATCH] Removed TODOs. --- .../java/org/eclipse/jetty/spdy/EmptyAsyncConnection.java | 1 - .../java/org/eclipse/jetty/spdy/SPDYAsyncConnection.java | 7 ++++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/spdy-jetty/src/main/java/org/eclipse/jetty/spdy/EmptyAsyncConnection.java b/spdy-jetty/src/main/java/org/eclipse/jetty/spdy/EmptyAsyncConnection.java index e6529b1d2f3..54910ba0cb5 100644 --- a/spdy-jetty/src/main/java/org/eclipse/jetty/spdy/EmptyAsyncConnection.java +++ b/spdy-jetty/src/main/java/org/eclipse/jetty/spdy/EmptyAsyncConnection.java @@ -62,6 +62,5 @@ public class EmptyAsyncConnection extends AbstractConnection implements AsyncCon @Override public void onInputShutdown() throws IOException { - // TODO } } diff --git a/spdy-jetty/src/main/java/org/eclipse/jetty/spdy/SPDYAsyncConnection.java b/spdy-jetty/src/main/java/org/eclipse/jetty/spdy/SPDYAsyncConnection.java index 0024f3b4a4a..5532948bc18 100644 --- a/spdy-jetty/src/main/java/org/eclipse/jetty/spdy/SPDYAsyncConnection.java +++ b/spdy-jetty/src/main/java/org/eclipse/jetty/spdy/SPDYAsyncConnection.java @@ -73,7 +73,10 @@ public class SPDYAsyncConnection extends AbstractConnection implements AsyncConn progress |= endPoint.hasProgressed(); if (!progress && filled < 0) + { + onInputShutdown(); close(false); + } } return this; } @@ -201,7 +204,7 @@ public class SPDYAsyncConnection extends AbstractConnection implements AsyncConn @Override public AsyncEndPoint getEndPoint() { - return (AsyncEndPoint) super.getEndPoint(); + return (AsyncEndPoint)super.getEndPoint(); } @Override @@ -219,13 +222,11 @@ public class SPDYAsyncConnection extends AbstractConnection implements AsyncConn @Override public void onClose() { - // TODO } @Override public void onInputShutdown() throws IOException { - // TODO } @Override