libgit2/tests/online
Carlos Martín Nieto 1ca61bdcb9 fetch: clear the connection data on close
When we fetch twice with the same remote object, we did not properly
clear the connection flags, so we would leak state from the last
connection.

This can cause the second fetch with the same remote object to fail if
using a HTTP URL where the server redirects to HTTPS, as the second
fetch would see `use_ssl` set and think the initial connection wanted to
downgrade the connection.
2014-11-19 20:57:15 +01:00
..
clone.c remote: rename _load() to _lookup() 2014-11-08 13:28:27 +01:00
fetch.c fetch: clear the connection data on close 2014-11-19 20:57:15 +01:00
fetchhead.c remote: rename _load() to _lookup() 2014-11-08 13:28:27 +01:00
push_util.c push: move main test function to git_remote_push() 2014-11-09 00:01:58 +01:00
push_util.h push: move main test function to git_remote_push() 2014-11-09 00:01:58 +01:00
push.c Merge pull request #2608 from libgit2/cmn/remote-push 2014-11-18 11:44:59 -05:00