mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-28 10:28:56 +00:00
transports: http: reset connected
flag when closing transport
This commit is contained in:
parent
c4cba4e96a
commit
b1453601f9
@ -1036,6 +1036,8 @@ static int http_close(git_smart_subtransport *subtransport)
|
||||
|
||||
clear_parser_state(t);
|
||||
|
||||
t->connected = 0;
|
||||
|
||||
if (t->io) {
|
||||
git_stream_close(t->io);
|
||||
git_stream_free(t->io);
|
||||
|
Loading…
Reference in New Issue
Block a user