Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8c7cfe3

Browse files
ethomsonimplausible
authored andcommitted
Revert "Merge pull request libgit2#4934 from stinb/proxy-crash"
This reverts commit 5b08a71.
1 parent 97e4179 commit 8c7cfe3

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

src/transports/http.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -679,9 +679,6 @@ static int load_proxy_config(http_subtransport *t)
679679
!!t->server.url.use_ssl, &t->proxy_url)) < 0)
680680
return error;
681681

682-
if (!t->proxy_url)
683-
return 0;
684-
685682
t->proxy_opts.type = GIT_PROXY_SPECIFIED;
686683
t->proxy_opts.url = t->proxy_url;
687684
t->proxy_opts.credentials = t->owner->proxy.credentials;

tests/online/clone.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -840,10 +840,3 @@ void test_online_clone__proxy_credentials_in_environment(void)
840840

841841
git_buf_dispose(&url);
842842
}
843-
844-
void test_online_clone__proxy_auto_not_detected(void)
845-
{
846-
g_options.fetch_opts.proxy_opts.type = GIT_PROXY_AUTO;
847-
848-
cl_git_pass(git_clone(&g_repo, "http://github.com/libgit2/TestGitRepository", "./foo", &g_options));
849-
}

0 commit comments

Comments
 (0)