cleanup
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
This commit is contained in:
parent
669ae8ff1b
commit
e8376a1a21
|
@ -76,6 +76,7 @@ public class ClientDatagramConnector extends ContainerLifeCycle implements IClie
|
|||
.flatMap(protocol -> protocol.getProtocols().stream())
|
||||
.toArray(String[]::new);
|
||||
|
||||
// TODO make the QuicheConfig configurable
|
||||
quicheConfig = new QuicheConfig();
|
||||
quicheConfig.setApplicationProtos(applicationProtos);
|
||||
quicheConfig.setMaxIdleTimeout(5000L);
|
||||
|
|
|
@ -50,9 +50,9 @@ public class QuicConnection extends AbstractConnection
|
|||
|
||||
private final Scheduler scheduler;
|
||||
private final ByteBufferPool byteBufferPool;
|
||||
private final Map<String, Object> context;
|
||||
private final QuicheConfig quicheConfig;
|
||||
private final Flusher flusher = new Flusher();
|
||||
private final Map<String, Object> context;
|
||||
|
||||
public QuicConnection(Executor executor, Scheduler scheduler, ByteBufferPool byteBufferPool, EndPoint endPoint, Map<String, Object> context, QuicheConfig quicheConfig)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue