Commit b1453601 by Patrick Steinhardt

transports: http: reset `connected` flag when closing transport

parent c4cba4e9
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment