Skip to content

Commit b145360

Browse files
committed
transports: http: reset connected flag when closing transport
1 parent c4cba4e commit b145360

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/transports/http.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1036,6 +1036,8 @@ static int http_close(git_smart_subtransport *subtransport)
10361036

10371037
clear_parser_state(t);
10381038

1039+
t->connected = 0;
1040+
10391041
if (t->io) {
10401042
git_stream_close(t->io);
10411043
git_stream_free(t->io);

0 commit comments

Comments
 (0)