Skip to content

Update confusing example of using CURLINFO_TLS_SSL_PTR#2690

Closed
AdrianPeniak wants to merge 2 commits intocurl:masterfrom
AdrianPeniak:patch-1
Closed

Update confusing example of using CURLINFO_TLS_SSL_PTR#2690
AdrianPeniak wants to merge 2 commits intocurl:masterfrom
AdrianPeniak:patch-1

Conversation

@AdrianPeniak
Copy link
Contributor

Previous example was little bit confusing, because SSL* structure (or other "in use" SSL connection pointer) are not accessible after transfer, therefore working with raw TLS library specific pointer should be done during transfer.

Previous example was little bit confusing, because SSL* structure (or other "in use" SSL connection pointer) are not accessible after transfer, therefore working with raw TLS library specific pointer should be done during transfer.
@AdrianPeniak AdrianPeniak changed the title Update confusing example of using Update confusing example of using CURLINFO_TLS_SSL_PTR Jun 28, 2018
Copy link
Member

@bagder bagder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, this is better. Two nits:

  1. it mixes code-style (brace position)
  2. I think we can skip the (void) lines to shorten it

Unify brackets & remove unused (void) lines
@bagder
Copy link
Member

bagder commented Jun 28, 2018

Thanks! (I edited it slightly before merge)

@bagder bagder closed this in 24cb114 Jun 28, 2018
@lock lock bot locked as resolved and limited conversation to collaborators Sep 26, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Development

Successfully merging this pull request may close these issues.

2 participants