From fd0e91b082fc49060277abe982a497df9ef0e1fe Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Wed, 8 Feb 2012 01:54:44 +0900 Subject: [PATCH] Set TCP_NODELAY in spdycat --- examples/spdycat.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/spdycat.cc b/examples/spdycat.cc index 6662c1bd..cde82197 100644 --- a/examples/spdycat.cc +++ b/examples/spdycat.cc @@ -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;