Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Update THREADING for OpenSSL 1.1 #3985

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

Merged
merged 2 commits into from
Nov 14, 2016
Merged

Update THREADING for OpenSSL 1.1 #3985

merged 2 commits into from
Nov 14, 2016

Conversation

carlosmn
Copy link
Member

@carlosmn carlosmn commented Nov 2, 2016

Starting at OpenSSL 1.1.0 it is thead-safe by itself, so mention that for people linking against it, they do not need to take further steps.

Also update the cURL link which has changed its location.

I've tried to reword things a bit to make it clearer (and remove a "may" for our last-resort locking function which might be taken as too much of a promise) but knowing what to do in order to use the network safely is still a minefield where you might need to initialise threading for two different libraries, and you don't know whether you have to until runtime.

@ethomson
Copy link
Member

ethomson commented Nov 2, 2016

👍 from me - I'll leave this open for a hot minute in case somebody else has some input.

Copy link
Member

@pks-t pks-t left a comment

Choose a reason for hiding this comment

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

Looks good besides the spotted typo

[recommendations for thread safety](https://curl.haxx.se/libcurl/c/threadsafe.html).

If there are no alternative TLS implementations (currently only
SecureTransport), libgit2 uses OpenSSL in order to use HTTPS as a trasnport.
Copy link
Member

Choose a reason for hiding this comment

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

There's a typo in "trasnport"

@carlosmn carlosmn force-pushed the cmn/threading-update branch from 3ea3b1d to f7d316e Compare November 4, 2016 09:12
@carlosmn carlosmn merged commit eb71490 into master Nov 14, 2016
@carlosmn carlosmn deleted the cmn/threading-update branch November 14, 2016 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants