Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Wilkins2012-10-02 22:49:25 +0000
committerGreg Wilkins2012-10-02 22:49:25 +0000
commit435f8a6db896e0bf2697a14c18a1d16bedca7d9b (patch)
treefe03ea9820407f10382efda0035651c99ddd9f49
parent604f4985d3c7728558e1ee61ce13053345025131 (diff)
downloadorg.eclipse.jetty.project-435f8a6db896e0bf2697a14c18a1d16bedca7d9b.tar.gz
org.eclipse.jetty.project-435f8a6db896e0bf2697a14c18a1d16bedca7d9b.tar.xz
org.eclipse.jetty.project-435f8a6db896e0bf2697a14c18a1d16bedca7d9b.zip
jetty 9: Improved NPN client connection to perform the connection replacement from onFillable() rather than from NPN callback methods.
-rw-r--r--jetty-spdy/spdy-client/src/main/java/org/eclipse/jetty/spdy/client/SPDYClient.java7
1 files changed, 0 insertions, 7 deletions
diff --git a/jetty-spdy/spdy-client/src/main/java/org/eclipse/jetty/spdy/client/SPDYClient.java b/jetty-spdy/spdy-client/src/main/java/org/eclipse/jetty/spdy/client/SPDYClient.java
index a9374437cb..9f5804e8d8 100644
--- a/jetty-spdy/spdy-client/src/main/java/org/eclipse/jetty/spdy/client/SPDYClient.java
+++ b/jetty-spdy/spdy-client/src/main/java/org/eclipse/jetty/spdy/client/SPDYClient.java
@@ -153,13 +153,6 @@ public class SPDYClient
return FlowControlStrategyFactory.newFlowControlStrategy(version);
}
- public void replaceConnection(EndPoint endPoint, Connection connection)
- {
- endPoint.getConnection().onClose();
- endPoint.setConnection(connection);
- connection.onOpen();
- }
-
public static class Factory extends ContainerLifeCycle
{
private final Queue<Session> sessions = new ConcurrentLinkedQueue<>();

Back to the top