jetty-9 - Calling connectionOpened() to trigger the necessary call to connection.onOpen().
This commit is contained in:
parent
cf3f12297f
commit
3be83efbae
|
@ -30,7 +30,6 @@ import java.util.Queue;
|
|||
import java.util.concurrent.ConcurrentLinkedQueue;
|
||||
import java.util.concurrent.Executor;
|
||||
import java.util.concurrent.Future;
|
||||
|
||||
import javax.net.ssl.SSLEngine;
|
||||
|
||||
import org.eclipse.jetty.io.ByteBufferPool;
|
||||
|
@ -281,9 +280,10 @@ public class SPDYClient
|
|||
DecryptedEndPoint sslEndPoint = sslConnection.getDecryptedEndPoint();
|
||||
NextProtoNegoClientConnection connection = new NextProtoNegoClientConnection(channel, sslEndPoint, attachment, client.factory.executor, client);
|
||||
sslEndPoint.setConnection(connection);
|
||||
connectionOpened(connection);
|
||||
return sslConnection;
|
||||
}
|
||||
|
||||
|
||||
SPDYClientConnectionFactory connectionFactory = new SPDYClientConnectionFactory();
|
||||
return connectionFactory.newConnection(channel, endPoint, attachment);
|
||||
}
|
||||
|
@ -294,7 +294,6 @@ public class SPDYClient
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public void connectionOpened(Connection connection)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue