https://bugs.winehq.org/show_bug.cgi?id=48254
--- Comment #6 from Hans Leidekker hans@meelstraat.net --- (In reply to Shumkar from comment #5)
(In reply to Hans Leidekker from comment #4)
Here it tries to do the same with the connect handle but we don't support that.
Do you mean the flag WINHTTP_FLAG_SECURE for the WinHttpOpenRequest function?
I mean WINHTTP_OPTION_SECURE_PROTOCOLS. I wrote a test for this case and it fails on Windows with ERROR_WINHTTP_INCORRECT_HANDLE_TYPE. That means Wine behaves correctly here and the problem must be somewhere else.