Skip to content

Update THREADING for OpenSSL 1.1#3985

Merged
carlosmn merged 2 commits into
masterfrom
cmn/threading-update
Nov 14, 2016
Merged

Update THREADING for OpenSSL 1.1#3985
carlosmn merged 2 commits into
masterfrom
cmn/threading-update

Conversation

@carlosmn
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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

Comment thread THREADING.md Outdated
[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
Copy Markdown
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