Skip to content

Conversation

carlosmn
Copy link
Member

This lets us have a more consistent set of features across platforms and avoids having to worry about OpenSSL's locking support as much (since crypto itself doesn't seem to need it).

There is no support for proxies in this state. libgit2 itself only supports proxies either on Windows (at a HTTP level which wouldn't use this code anyway) and by piggy-backing off of curl, which this doesn't do either.

I'm not familiar with what proxy support exists in the Go ecosystem, but I assume there must be something that'll let us do HTTP tunneling.

Instead of having to guess about how to make the TLS stream safe on the given
platform, we can use a managed one we implement ourselves and tell libgit2 to
use that.
@lhchavez
Copy link
Contributor

lhchavez commented Sep 6, 2021

I just landed #810, which was heavily based upon this change, with proxy support!

@lhchavez lhchavez closed this Sep 6, 2021
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.

2 participants