diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2019-03-09 13:53:16 +0000 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2019-06-10 19:58:22 +0100 |
commit | 1071852653c55dbf9729065f62cb9a7aab51a39a (patch) | |
tree | a2f9311d6a0ed63282f1eceff2555d342eb52c96 | |
parent | 3192e3c970f490164852dd76f928b753f821e40d (diff) | |
download | libgit2-1071852653c55dbf9729065f62cb9a7aab51a39a.tar.gz |
http: don't reset replay count after connection
A "connection" to a server is transient, and we may reconnect to a
server in the midst of authentication failures (if the remote indicates
that we should, via `Connection: close`) or in a redirect.
-rw-r--r-- | src/transports/http.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/transports/http.c b/src/transports/http.c index 745da9252..213c6511f 100644 --- a/src/transports/http.c +++ b/src/transports/http.c @@ -1044,7 +1044,6 @@ static int http_connect(http_subtransport *t) t->proxy.stream = proxy_stream; t->server.stream = stream; t->connected = 1; - t->replay_count = 0; return 0; on_error: |