Fixed TCP no delay in the PassThroughSocketContext.
Ignored the eclipse metadata.
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -23,4 +23,5 @@ bin/
|
|||||||
build/
|
build/
|
||||||
*.res
|
*.res
|
||||||
archives/
|
archives/
|
||||||
/*/controls/
|
/*/controls/
|
||||||
|
.metadata/
|
||||||
|
|||||||
@@ -423,6 +423,7 @@ public class WebServer {
|
|||||||
channel.configureBlocking(false);
|
channel.configureBlocking(false);
|
||||||
channel.socket().setSendBufferSize(SEND_BUFFER_SIZE);
|
channel.socket().setSendBufferSize(SEND_BUFFER_SIZE);
|
||||||
channel.socket().setReceiveBufferSize(RECEIVE_BUFFER_SIZE);
|
channel.socket().setReceiveBufferSize(RECEIVE_BUFFER_SIZE);
|
||||||
|
channel.socket().setTcpNoDelay(false);
|
||||||
networkListener.queue(runnable = new RegisterKeyRunnable(this, channel, linkedClientContext.key.selector()));
|
networkListener.queue(runnable = new RegisterKeyRunnable(this, channel, linkedClientContext.key.selector()));
|
||||||
linkedClientContext.key.selector().wakeup();
|
linkedClientContext.key.selector().wakeup();
|
||||||
runnable.waitForRun();
|
runnable.waitForRun();
|
||||||
|
|||||||
Reference in New Issue
Block a user