mirror of
https://github.com/curl/curl.git
synced 2026-07-28 15:43:06 +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) {
|
if(req->connmon) {
|
||||||
const char *keepopen = "[DISCONNECT]\n";
|
const char *keepopen = "[DISCONNECT]\n";
|
||||||
sws_storerequest(keepopen, strlen(keepopen));
|
sws_storerequest(keepopen, strlen(keepopen));
|
||||||
|
req->connmon = FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!req->open)
|
if(!req->open)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue