aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/server/sws.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/server/sws.c b/tests/server/sws.c
index bb29a3dc8..0157d9e5c 100644
--- a/tests/server/sws.c
+++ b/tests/server/sws.c
@@ -604,7 +604,7 @@ int main(int argc, char *argv[])
if(open)
logmsg("persistant connection, awaits new request");
/* if we got a CONNECT, loop and get another request as well! */
- } while(open);
+ } while(open || (doc == DOCNUMBER_CONNECT));
logmsg("Closing client connection");
close(msgsock);