Fixed TCP no delay in the PassThroughSocketContext.

Ignored the eclipse metadata.
This commit is contained in:
wcrisman
2014-05-30 12:11:28 -07:00
parent b45e56b890
commit bb9b1f550e
2 changed files with 3 additions and 1 deletions

1
.gitignore vendored
View File

@@ -24,3 +24,4 @@ build/
*.res
archives/
/*/controls/
.metadata/

View File

@@ -423,6 +423,7 @@ public class WebServer {
channel.configureBlocking(false);
channel.socket().setSendBufferSize(SEND_BUFFER_SIZE);
channel.socket().setReceiveBufferSize(RECEIVE_BUFFER_SIZE);
channel.socket().setTcpNoDelay(false);
networkListener.queue(runnable = new RegisterKeyRunnable(this, channel, linkedClientContext.key.selector()));
linkedClientContext.key.selector().wakeup();
runnable.waitForRun();