jetty-9 - Calling connectionOpened() to trigger the necessary call to connection.onOpen().

This commit is contained in:
Simone Bordet 2012-09-14 16:48:09 +02:00
parent cf3f12297f
commit 3be83efbae
1 changed files with 2 additions and 3 deletions

View File

@ -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)
{