FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Update THREADING for OpenSSL 1.1 by carlosmn · Pull Request #3985 · libgit2/libgit2 · GitHub

Repository navigation

Update THREADING for OpenSSL 1.1 - #3985

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

carlosmn merged 2 commits into
masterfrom
cmn/threading-update

Conversation

carlosmn commented Nov 2, 2016

Copy link
Copy Markdown
Member

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 commented Nov 2, 2016

Copy link
Copy Markdown
Member

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

pks-t left a comment

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.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

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.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

There's a typo in "trasnport"

carlosmn force-pushed the cmn/threading-update branch from 3ea3b1d to f7d316e Compare November 4, 2016 09:12
carlosmn merged commit eb71490 into master Nov 14, 2016
carlosmn deleted the cmn/threading-update branch November 14, 2016 09:19
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL