mirror of
https://github.com/curl/curl.git
synced 2026-07-10 05:47:18 +03:00
sws: allow connection-monitor to log all disconnects
Remove the suppression of connmon after the first disconnect event. The connmon flag is set per-test via the 'connection-monitor' server command and should remain active for the lifetime of that test's connections to properly detect connection reuse failures. The suppression was introduced in510fdadto work around a connection reuse regression that has since been resolved by the credentials refactoring in8f71d0f. With the underlying issue fixed, restoring full disconnect logging strengthens tests like 338 to catch future regressions in connection reuse logic. Fixes #22158 Closes #22159
This commit is contained in:
parent
4ce309d968
commit
5232c16208
1 changed files with 0 additions and 1 deletions
|
|
@ -2327,7 +2327,6 @@ static int test_sws(int argc, const char *argv[])
|
|||
if(req->connmon) {
|
||||
const char *keepopen = "[DISCONNECT]\n";
|
||||
storerequest(keepopen, strlen(keepopen), REQUEST_DUMP_FILENAME);
|
||||
req->connmon = FALSE;
|
||||
}
|
||||
|
||||
if(!req->open)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue