You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Both calc_cn_host in cpprestsdk/Release/src/http/client/http_client_asio.cpp and winhttp_client::send_request in cpprestsdk/Release/src/http/client/http_client_winhttp.cpp cause the entire Host header value to be compared with the certificate Common Name which causes an SSL handshake error if the caller passes a Host header including a port number, e.g. when non-default.
Related to #832.
Both
calc_cn_host
in cpprestsdk/Release/src/http/client/http_client_asio.cpp andwinhttp_client::send_request
in cpprestsdk/Release/src/http/client/http_client_winhttp.cpp cause the entireHost
header value to be compared with the certificate Common Name which causes an SSL handshake error if the caller passes aHost
header including a port number, e.g. when non-default.cpprestsdk/Release/src/http/client/http_client_asio.cpp
Line 103 in 411a109
cpprestsdk/Release/src/http/client/http_client_winhttp.cpp
Line 1110 in 411a109
The text was updated successfully, but these errors were encountered: