List of usage examples for io.netty.channel.epoll EpollChannelOption TCP_FASTOPEN_CONNECT
ChannelOption TCP_FASTOPEN_CONNECT
To view the source code for io.netty.channel.epoll EpollChannelOption TCP_FASTOPEN_CONNECT.
Click Source Link
From source file:io.vertx.core.net.impl.transport.EpollTransport.java
License:Open Source License
@Override public void configure(ClientOptionsBase options, Bootstrap bootstrap) { if (options.isTcpFastOpen()) { bootstrap.option(EpollChannelOption.TCP_FASTOPEN_CONNECT, options.isTcpFastOpen()); }/* w ww . ja v a 2 s.c o m*/ bootstrap.option(EpollChannelOption.TCP_QUICKACK, options.isTcpQuickAck()); bootstrap.option(EpollChannelOption.TCP_CORK, options.isTcpCork()); super.configure(options, bootstrap); }