Discussion:
No INTERNET_STATUS_CONNECTED_TO_SERVER event with SSL
(too old to reply)
Colin
2005-05-06 12:23:16 UTC
Permalink
I have an asynchronous wininet application where I am catching the
INTERNET_STATUS_CONNECTED_TO_SERVER callback event. This all seems to work
fine when using normal HTTP on port 80 but when I try to catch this event
with an SSL url, port 443 and secure connection I just never receive
INTERNET_STATUS_CONNECTED_TO_SERVER.

Should this callback event be called for HTTPS as it is for HTTP?
Is there anything special I need to do to receive it.

When the HttpSendRequest call is made my call back just receives the
INTERNET_STATUS_REQUEST_COMPLETE event and all the status and error values
indicate success.

Thanks for any help
Reymarx Gereda
2005-05-16 03:53:37 UTC
Permalink
Can you elaborate a little on the WinInet version you're using?

I just tried with windows XP Sp2 and it seems to work correctly in both
scenarios (HTTP and HTTPS)

Reymarx [MSFT]
Windows- Networking
This posting is provided "AS IS" with no warranties, and confers no rights
Post by Colin
I have an asynchronous wininet application where I am catching the
INTERNET_STATUS_CONNECTED_TO_SERVER callback event. This all seems to work
fine when using normal HTTP on port 80 but when I try to catch this event
with an SSL url, port 443 and secure connection I just never receive
INTERNET_STATUS_CONNECTED_TO_SERVER.
Should this callback event be called for HTTPS as it is for HTTP?
Is there anything special I need to do to receive it.
When the HttpSendRequest call is made my call back just receives the
INTERNET_STATUS_REQUEST_COMPLETE event and all the status and error values
indicate success.
Thanks for any help
Continue reading on narkive:
Loading...