Added log statement that SPDY is experimental.
This commit is contained in:
parent
c66bbae8ae
commit
fef252eb6e
|
@ -42,9 +42,13 @@ import org.eclipse.jetty.spdy.api.Session;
|
||||||
import org.eclipse.jetty.spdy.api.server.ServerSessionFrameListener;
|
import org.eclipse.jetty.spdy.api.server.ServerSessionFrameListener;
|
||||||
import org.eclipse.jetty.util.ssl.SslContextFactory;
|
import org.eclipse.jetty.util.ssl.SslContextFactory;
|
||||||
import org.eclipse.jetty.util.thread.ThreadPool;
|
import org.eclipse.jetty.util.thread.ThreadPool;
|
||||||
|
import org.slf4j.Logger;
|
||||||
|
import org.slf4j.LoggerFactory;
|
||||||
|
|
||||||
public class SPDYServerConnector extends SelectChannelConnector
|
public class SPDYServerConnector extends SelectChannelConnector
|
||||||
{
|
{
|
||||||
|
private static final Logger logger = LoggerFactory.getLogger(SPDYServerConnector.class);
|
||||||
|
|
||||||
// Order is important on server side, so we use a LinkedHashMap
|
// Order is important on server side, so we use a LinkedHashMap
|
||||||
private final Map<String, AsyncConnectionFactory> factories = new LinkedHashMap<>();
|
private final Map<String, AsyncConnectionFactory> factories = new LinkedHashMap<>();
|
||||||
private final Queue<Session> sessions = new ConcurrentLinkedQueue<>();
|
private final Queue<Session> sessions = new ConcurrentLinkedQueue<>();
|
||||||
|
@ -98,6 +102,7 @@ public class SPDYServerConnector extends SelectChannelConnector
|
||||||
super.doStart();
|
super.doStart();
|
||||||
defaultConnectionFactory = new ServerSPDYAsyncConnectionFactory(SPDY.V2, getByteBufferPool(), getExecutor(), scheduler, listener);
|
defaultConnectionFactory = new ServerSPDYAsyncConnectionFactory(SPDY.V2, getByteBufferPool(), getExecutor(), scheduler, listener);
|
||||||
putAsyncConnectionFactory("spdy/2", defaultConnectionFactory);
|
putAsyncConnectionFactory("spdy/2", defaultConnectionFactory);
|
||||||
|
logger.info("SPDY support is experimental. Please report feedback at jetty-dev@eclipse.org");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue