summaryrefslogtreecommitdiff
path: root/src/HttpServerCommand.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2012-11-28 00:20:43 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2012-11-28 00:20:43 +0900
commit16e25ef4e1ca1fe1e3e8cdacd77de228f997ceaf (patch)
tree5211dcdef9904b1a39f79c7b71b5ee6786b838a6 /src/HttpServerCommand.cc
parente781e6eac1e3f45c143d9db303bf394a17191ba2 (diff)
Enabled TCP_NODELAY in SocketCore::establishConnection and acceptConnection
Diffstat (limited to 'src/HttpServerCommand.cc')
-rw-r--r--src/HttpServerCommand.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/HttpServerCommand.cc b/src/HttpServerCommand.cc
index 195b040b..e87b6e9e 100644
--- a/src/HttpServerCommand.cc
+++ b/src/HttpServerCommand.cc
@@ -220,7 +220,6 @@ bool HttpServerCommand::execute()
httpServer_->feedUpgradeResponse("websocket",
fmt("Sec-WebSocket-Accept: %s\r\n",
serverKey.c_str()));
- httpServer_->getSocket()->setTcpNodelay(true);
command = new rpc::WebSocketResponseCommand(getCuid(), httpServer_,
e_, socket_);
} else {