diff options
author | Carlos Martín Nieto <carlos@cmartin.tk> | 2012-05-03 14:07:55 +0200 |
---|---|---|
committer | Carlos Martín Nieto <carlos@cmartin.tk> | 2012-05-19 17:50:52 +0200 |
commit | 89460f3f57b6efa906263a19b982f8a7859b15c9 (patch) | |
tree | 2994f0d454f2fb8c5979b85185dc22d67b5ec53c /src/netops.h | |
parent | a6f24a5b3a8dcb9ab7f84679d658e66f374b88d6 (diff) | |
download | libgit2-89460f3f57b6efa906263a19b982f8a7859b15c9.tar.gz |
ssl: teardown the connection on close
This should help us free some resources, though the libraries do keep
some buffers allocated regardless.
Diffstat (limited to 'src/netops.h')
-rw-r--r-- | src/netops.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/netops.h b/src/netops.h index 8591a8e94..4976f87f8 100644 --- a/src/netops.h +++ b/src/netops.h @@ -30,6 +30,7 @@ void gitno_consume_n(gitno_buffer *buf, size_t cons); int gitno_connect(git_transport *t, const char *host, const char *port); int gitno_send(git_transport *t, const char *msg, size_t len, int flags); int gitno_close(GIT_SOCKET s); +int gitno_ssl_teardown(git_transport *t); int gitno_send_chunk_size(int s, size_t len); int gitno_select_in(gitno_buffer *buf, long int sec, long int usec); |