WNetWrap icon indicating copy to clipboard operation
WNetWrap copied to clipboard

HTTP requests support

Open anzanipaolodev opened this issue 2 years ago • 0 comments

Normal http requests (no ssl) does not seem to work.

The error returned by GetLastError() is 12157, which translate into:

ERROR_INTERNET_SECURITY_CHANNEL_ERROR

The application experienced an internal error loading the SSL libraries.

This is probably due to INTERNET_SECURE_FLAG used in HttpOpenRequestA().

A simple solution could be to select flags based on which type of protocol is used.

anzanipaolodev avatar Dec 15 '22 17:12 anzanipaolodev