aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/server/sockfilt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/server/sockfilt.c b/tests/server/sockfilt.c
index d37f9e6a6..b59a371d0 100644
--- a/tests/server/sockfilt.c
+++ b/tests/server/sockfilt.c
@@ -587,6 +587,8 @@ static bool juggle(curl_socket_t *sockfdp,
FD_ZERO(&fds_write);
FD_ZERO(&fds_err);
+ FD_SET(fileno(stdin), &fds_read);
+
switch(*mode) {
case PASSIVE_LISTEN: