Share via

No response for WinHTTP API calls

Manju 150 Reputation points
2025-02-17T12:58:31.08+00:00

My application uses a PAC file to determine the proxy to be used for a given URL.

It uses WinHttpOpen, WinHttpCreateProxyResolver and WinHttpGetProxyResult Apis to get the proxy info.

I am encountering an issue where I find that the registered callback is never called. I do not suspect the implementation as it works most of the time and when it doesn't work I find it hung waiting for the callback from Windows.

What could be the reason for WinHttp layer not calling the callback function ? If do not see any errors in the event logs.

Windows for business | Windows Client for IT Pros | User experience | Other
0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.