Disable TCP nagle
This commit is contained in:
parent
eeb329616d
commit
0e56506870
@ -15,6 +15,7 @@ sv::WSServer::WSServer(uint16_t port)
|
||||
CROW_LOG_INFO << "new websocket connection from " << conn.get_remote_ip();
|
||||
|
||||
std::lock_guard<std::mutex> lock(mtx_);
|
||||
conn.set_nodelay();
|
||||
|
||||
WSConnId conn_id = utils::AllocNum(id2conn_, last_id_);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user