diff options
author | Carlos Martín Nieto <cmn@dwim.me> | 2015-06-11 16:50:44 +0200 |
---|---|---|
committer | Carlos Martín Nieto <cmn@dwim.me> | 2015-06-24 17:26:36 +0200 |
commit | e247649dfa2767c480d430dcf3be336cf56f1fe3 (patch) | |
tree | 33034a18bef3affe4b936c4642cd3e02dee9a98e /tests/diff/tree.c | |
parent | cdee630f6f8fc170f21dbcc88248a18a466722a1 (diff) | |
download | libgit2-e247649dfa2767c480d430dcf3be336cf56f1fe3.tar.gz |
openssl: use the curl stream if available
When linking against libcurl, use it as the underlying transport instead
of straight sockets. We can't quite just give over the file descriptor,
as curl puts it into non-blocking mode, so we build a custom BIO so
OpenSSL sends the data through our stream, be it the socket or curl
streams.
Diffstat (limited to 'tests/diff/tree.c')
0 files changed, 0 insertions, 0 deletions