mirror of
https://github.com/curl/curl.git
synced 2026-05-30 02:47:28 +03:00
test2600: disable on win32
- disbable this test on WIN32 platforms. It uses the file describtor '1' as valid socket without events. Not portable. - reduce trace output somewhat on other runs Fixes #14177 Reported-by: Viktor Szakats Closes #14191
This commit is contained in:
parent
f4b8b976b4
commit
6f0a8bd43c
2 changed files with 6 additions and 1 deletions
|
|
@ -17,6 +17,7 @@ none
|
|||
unittest
|
||||
debug
|
||||
http
|
||||
!win32
|
||||
</features>
|
||||
<name>
|
||||
connection filter connect/destroy unit tests
|
||||
|
|
|
|||
|
|
@ -47,6 +47,7 @@
|
|||
#include "connect.h"
|
||||
#include "cfilters.h"
|
||||
#include "multiif.h"
|
||||
#include "select.h"
|
||||
#include "curl_trc.h"
|
||||
|
||||
|
||||
|
|
@ -62,6 +63,7 @@ static CURLcode unit_setup(void)
|
|||
curl_global_cleanup();
|
||||
return CURLE_OUT_OF_MEMORY;
|
||||
}
|
||||
curl_global_trace("all");
|
||||
curl_easy_setopt(easy, CURLOPT_VERBOSE, 1L);
|
||||
return res;
|
||||
}
|
||||
|
|
@ -146,8 +148,10 @@ static CURLcode cf_test_connect(struct Curl_cfilter *cf,
|
|||
(int)duration_ms, ctx->id);
|
||||
return CURLE_COULDNT_CONNECT;
|
||||
}
|
||||
if(duration_ms)
|
||||
if(duration_ms) {
|
||||
infof(data, "%04dms: cf[%s] continuing", (int)duration_ms, ctx->id);
|
||||
Curl_wait_ms(10);
|
||||
}
|
||||
Curl_expire(data, ctx->fail_delay_ms - duration_ms, EXPIRE_RUN_NOW);
|
||||
return CURLE_OK;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue