summaryrefslogtreecommitdiff
path: root/src/socket_base.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/socket_base.cpp')
-rw-r--r--src/socket_base.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/socket_base.cpp b/src/socket_base.cpp
index 5b1752e..26aa209 100644
--- a/src/socket_base.cpp
+++ b/src/socket_base.cpp
@@ -422,6 +422,7 @@ int xs::socket_base_t::connect (const char *addr_)
id.set_flags (msg_t::identity);
bool written = ppair [0]->write (&id);
xs_assert (written);
+ pipes [0]->flush ();
}
// Attach remote end of the pipe to the peer socket. Note that peer's