aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tcp_subr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tcp_subr.c b/tcp_subr.c
index d72597c..02e7f7c 100644
--- a/tcp_subr.c
+++ b/tcp_subr.c
@@ -414,6 +414,8 @@ int tcp_fconnect(struct socket *so, unsigned short af)
socket_set_fast_reuse(s);
opt = 1;
qemu_setsockopt(s, SOL_SOCKET, SO_OOBINLINE, &opt, sizeof(opt));
+ opt = 1;
+ qemu_setsockopt(s, IPPROTO_TCP, TCP_NODELAY, &opt, sizeof(opt));
addr = so->fhost.ss;
DEBUG_CALL(" connect()ing")