diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/server/sws.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/server/sws.c b/tests/server/sws.c index f7a3f846a..816532bd5 100644 --- a/tests/server/sws.c +++ b/tests/server/sws.c @@ -1001,6 +1001,16 @@ int main(int argc, char *argv[]) } #endif + /* full initialization for new request after connection */ + memset(&req, 0, sizeof(req)); + req.testno = DOCNUMBER_NOTHING; + req.open = TRUE; + req.auth_req = FALSE; + req.auth = FALSE; + req.digest = FALSE; + req.ntlm = FALSE; + req.pipelining = FALSE; + do { if(get_request(msgsock, &req)) /* non-zero means error, break out of loop */ |