mirror of
https://github.com/curl/curl.git
synced 2026-04-15 00:01:41 +03:00
sws: prevent "connection monitor" to say disconnect twice
This commit is contained in:
parent
34fa034d9a
commit
510fdad64d
1 changed files with 1 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue