[Bug 51227] New: urlmon:url breaks the wininet:http test on Windows 10 1709+

WineHQ Bugzilla wine-bugs at winehq.org
Sun Jun 6 06:46:12 CDT 2021


https://bugs.winehq.org/show_bug.cgi?id=51227

            Bug ID: 51227
           Summary: urlmon:url breaks the wininet:http test on Windows 10
                    1709+
           Product: Wine
           Version: 6.8
          Hardware: x86-64
                OS: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: wininet
          Assignee: wine-bugs at winehq.org
          Reporter: fgouget at codeweavers.com

WineTest shows that wininet:http has the following set of failures on Windows
10 1709+:

https://test.winehq.org/data/patterns.html#wininet:http

http.c:6732: Test failed: expected secure flag to be set
http.c:6742: Test failed: InternetQueryOption failed: 12016
http.c:6748: Test failed: InternetQueryOption failed: 12016
http.c:6771: Test failed: InternetQueryOption failed: 12016
http.c:6776: Test failed: InternetQueryOption failed: 12016
http.c:6779: Test failed: expected same string

However, when run on its own, the test always succeeds!

Further testing shows that to reproduce the failure one must first run
urlmon:url. More specifically:

urlmon_test.exe url
wininet_test.exe http -> fails
wininet_test.exe http -> succeeds

So urlmon:url breaks the wininet:http that follows, but wininet:http fixes
whatever urlmon:url broke so that the next wininet:http run succeeds.

So it seems like there are two bugs:
* urlmon:url does not correctly clean up one of the changes it makes.
* And wininet:http performs a similar change but instead of restoring the
configuration as it was when the test started, it restores the default Windows
configuration.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list