summaryrefslogtreecommitdiff
path: root/include/git2/sys/stream.h
Commit message (Collapse)AuthorAgeFilesLines
* net: use proxy options struct in the stream configCarlos Martín Nieto2016-04-191-1/+2
|
* stream: allow registering a user-provided TLS constructorcmn/tls-registerCarlos Martín Nieto2015-11-031-0/+13
| | | | | This allows the application to use their own TLS stream, regardless of the capabilities of libgit2 itself.
* stream: add support for setting a proxyCarlos Martín Nieto2015-06-241-0/+2
| | | | | | | | If the stream claims to support this feature, we can let the transport set the proxy. We also set HTTPPROXYTUNNEL option so curl can create a tunnel through the proxy which lets us create our own TLS session (if needed).
* Fixed error when including git2/include/sys/stream.hJohn Haley2015-02-111-0/+2
|
* stream: constify the write bufferCarlos Martín Nieto2014-12-101-1/+1
|
* Introduce stackable IO streamsCarlos Martín Nieto2014-12-101-0/+40
We currently have gitno for talking over TCP, but this needs to know about both plaintext and OpenSSL connections and the code has gotten somewhat messy with ifdefs determining which version of the function should be called. In order to clean this up and abstract away the details of sending over the different types of streams, we can instead use an interface and stack stream implementations. We may not be able to use the stackability with all streams, but we are definitely be able to use the abstraction which is currently spread between different bits of gitno.