diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2012-11-28 00:20:43 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2012-11-28 00:20:43 +0900 |
| commit | 16e25ef4e1ca1fe1e3e8cdacd77de228f997ceaf (patch) | |
| tree | 5211dcdef9904b1a39f79c7b71b5ee6786b838a6 /src/HttpServerCommand.cc | |
| parent | e781e6eac1e3f45c143d9db303bf394a17191ba2 (diff) | |
Enabled TCP_NODELAY in SocketCore::establishConnection and acceptConnection
Diffstat (limited to 'src/HttpServerCommand.cc')
| -rw-r--r-- | src/HttpServerCommand.cc | 1 |
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 { |
