diff options
| author | Carlos Martín Nieto <carlos@cmartin.tk> | 2012-05-01 00:05:25 +0200 |
|---|---|---|
| committer | Carlos Martín Nieto <carlos@cmartin.tk> | 2012-05-19 17:50:52 +0200 |
| commit | 66024c7cbcbae3a75d0b0426993d8ee5fa5f9dfb (patch) | |
| tree | 942b12533fe7f158679c0a2a3692494be849a855 /src/pkt.c | |
| parent | ad5df35a47d56c3d716d7a56eac4aeb611987c11 (diff) | |
| download | libgit2-66024c7cbcbae3a75d0b0426993d8ee5fa5f9dfb.tar.gz | |
http: add https support when GnuTLS is available
If it's not available, an error saying so will be returned when trying
to use a https:// URL.
This also unifies a lot of the network code to use git_transport in
many places instead of an socket descriptor.
Diffstat (limited to 'src/pkt.c')
| -rw-r--r-- | src/pkt.c | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -281,12 +281,6 @@ int git_pkt_buffer_flush(git_buf *buf) return git_buf_put(buf, pkt_flush_str, strlen(pkt_flush_str)); } -int git_pkt_send_flush(GIT_SOCKET s) -{ - - return gitno_send(s, pkt_flush_str, strlen(pkt_flush_str), 0); -} - static int buffer_want_with_caps(git_remote_head *head, git_transport_caps *caps, git_buf *buf) { char capstr[20]; |
