Why WinHttpSendRequest return 12030 error code on Windows 7 x64 OS

  • Thread starter Thread starter Jerry_Rain
  • Start date Start date
J

Jerry_Rain

Guest
Hi All:
Currently, I have met a strange issue about WinHttp function on one user's environment.
The User's os is Windows7 7600 64bit.
The program will send get request to one https server.

if(!::WinHttpSendRequest(m_hRequest, WINHTTP_NO_ADDITIONAL_HEADERS, 0, WINHTTP_NO_REQUEST_DATA, 0, 0, 0)) {
DWORD dwError = ::GetLastError(); //here will get the error code is 12030
return false;
}

When user open this https url in IE, it can be opened in IE and return the data. however, When program send the https request, it will not receive the response packet from the server. one more information, the program will work fine on another xp OS which is in the same NAT network with Windows7 OS, Could you please give me some suggestion about this case? Thanks in advance!Rejoice, I Desire!

Continue reading...
 
Back
Top