mirror of
https://github.com/curl/curl.git
synced 2026-07-08 12:07:16 +03:00
sws: prevent "connection monitor" to say disconnect twice
This commit is contained in:
parent
bb894e077f
commit
8571f515dd
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