mirror of
https://github.com/jetty/jetty.project.git
synced 2025-03-04 04:49:12 +00:00
jetty 9: Improved NPN client connection to perform the connection replacement from onFillable() rather than from NPN callback methods.
This commit is contained in:
parent
604f4985d3
commit
435f8a6db8
@ -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<>();
|
||||
|
Loading…
x
Reference in New Issue
Block a user