Skip to content

Check connection for SSL use, not handler #16034

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

icing
Copy link
Contributor

@icing icing commented Jan 17, 2025

Protocol handler option PROTOPT_SSL is used to setup a connection filters. Once that is done, use Curl_conn_is_ssl() to check if a connection uses SSL.

There may be other reasons to add SSL to a connection, e.g. starttls.

Protocol handler option PROTOPT_SSL is used to setup a connection
filters. Once that is done, used `Curl_conn_is_ssl()` to check if
a connection uses SSL.

There may be other reasons to add SSL to a connection, e.g. starttls.
@bagder bagder added the TLS label Jan 17, 2025
@bagder bagder closed this in 25b445e Jan 17, 2025
pps83 pushed a commit to pps83/curl that referenced this pull request Apr 26, 2025
Protocol handler option PROTOPT_SSL is used to setup a connection
filters. Once that is done, used `Curl_conn_is_ssl()` to check if
a connection uses SSL.

There may be other reasons to add SSL to a connection, e.g. starttls.

Closes curl#16034
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

2 participants