Commit fd0e91b0 authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

Set TCP_NODELAY in spdycat

parent dfce262f
......@@ -154,6 +154,7 @@ int communicate(const std::string& host, uint16_t port,
return -1;
}
make_non_block(fd);
set_tcp_nodelay(fd);
Spdylay sc(fd, ssl, callbacks);
nfds_t npollfds = 1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment