sws: prevent "connection monitor" to say disconnect twice

This commit is contained in:
Daniel Stenberg 2026-02-07 00:16:58 +01:00
parent 34fa034d9a
commit 510fdad64d
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2

View file

@ -2385,6 +2385,7 @@ static int test_sws(int argc, const char *argv[])
if(req->connmon) {
const char *keepopen = "[DISCONNECT]\n";
sws_storerequest(keepopen, strlen(keepopen));
req->connmon = FALSE;
}
if(!req->open)