Module: wine Branch: master Commit: 3c060b0ac0df12eb774c9a8ac929ed93a70c8600 URL: https://gitlab.winehq.org/wine/wine/-/commit/3c060b0ac0df12eb774c9a8ac929ed9... Author: Hans Leidekker <hans(a)codeweavers.com> Date: Tue Jan 10 20:16:53 2023 +0100 wininet/tests: Pass INTERNET_FLAG_RELOAD in secure connection tests. Avoids test failures when the URL is cached by other tests. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51227 --- dlls/wininet/tests/http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/wininet/tests/http.c b/dlls/wininet/tests/http.c index 8fcb9df293a..efa3e5928b6 100644 --- a/dlls/wininet/tests/http.c +++ b/dlls/wininet/tests/http.c @@ -6897,7 +6897,7 @@ static void test_secure_connection(void) ok(con != NULL, "InternetConnect failed\n"); req = HttpOpenRequestA(con, "GET", "/tests/hello.html", NULL, NULL, NULL, - INTERNET_FLAG_SECURE, 0); + INTERNET_FLAG_SECURE | INTERNET_FLAG_RELOAD, 0); ok(req != NULL, "HttpOpenRequest failed\n"); ret = HttpSendRequestA(req, NULL, 0, NULL, 0);