Fixes a regression introduced by
cbfe940a1eaf5e158de3127b1265462bfbfb70af.
Might be related to https://bugs.winehq.org/show_bug.cgi?id=54055, I don't yet have the confirmation but this is something probably worth fixing regardless.
lpszAutoConfigUrl is used whenever WINHTTP_AUTOPROXY_CONFIG_URL is specified, regardless of WINHTTP_AUTOPROXY_AUTO_DETECT presence. Before cbfe940a1eaf5e158de3127b1265462bfbfb70af NULL lpszAutoConfigUrl went directly to GetAddrInfoW(). Now with the timeout it is relayed to aync name resolution thread and might be crashing in wcsdup(). It doesn't happen all the time as we might not be reaching download_script() at all due to prior WinHttpDetectAutoProxyConfigUrl() legitimate failure.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/1845
They fail on the Gitlab CI. An alternative would be to mark them
todo_wine but it's not clear that there's anything we want to do here.
--
v2: d3d9/tests: Mark some of the depth bias tests as todo.
d3d9/tests: Mark a zero-size pixel test as todo.
d3d8/tests: Mark a zero-size pixel test as todo.
https://gitlab.winehq.org/wine/wine/-/merge_requests/1824