Set TCP_NODELAY in spdycat
This commit is contained in:
parent
dfce262fe5
commit
fd0e91b082
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue