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

Skip to content

Add HTTPS support #697

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Jun 5, 2012
Merged

Add HTTPS support #697

merged 9 commits into from
Jun 5, 2012

Conversation

carlosmn
Copy link
Member

Support connecting to https:// URLs

@travisbot
Copy link

This pull request passes (merged 14aec9f5 into 1c3a5a0).

gnutls_certificate_free_credentials(t->ssl.cred);
gnutls_global_deinit();
#elif defined(GIT_OPENSS)
int ret;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

c99

@travisbot
Copy link

This pull request fails (merged 2b3fe525 into 1c3a5a0).

@travisbot
Copy link

This pull request passes (merged b8297d7c into 1c3a5a0).

@travisbot
Copy link

This pull request passes (merged 497823e0 into db756d5).

@travisbot
Copy link

This pull request passes (merged 17818a6a into db756d5).


/* If it contains embedded NULs, don't even try */
if (namelen != strnlen(name, namelen)) {
puts("bad length");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Come on, buddy. ;/

@travisbot
Copy link

This pull request passes (merged fd89eb78 into db756d5).

@travisbot
Copy link

This pull request passes (merged a2a99f93 into db756d5).

@travisbot
Copy link

This pull request passes (merged fb58dd16 into db756d5).

carlosmn added 9 commits May 19, 2012 17:50
If it's not available, an error saying so will be returned when trying
to use a https:// URL.

This also unifies a lot of the network code to use git_transport in
many places instead of an socket descriptor.
Add specific functions that use OpenSSL instead of GnuTLS
This should help us free some resources, though the libraries do keep
some buffers allocated regardless.
It's too much work for now to redo everything.

Move the ssl context struct to transport.h
Sometimes it's useful not to perform the check. Allow it to be
configurable.
@travisbot
Copy link

This pull request passes (merged 250b95b into f7ed0c3).

@vmg
Copy link
Member

vmg commented Jun 5, 2012

✨ Let's get started on WinHTTP.

vmg added a commit that referenced this pull request Jun 5, 2012
@vmg vmg merged commit 966fbdc into libgit2:development Jun 5, 2012
phatblat pushed a commit to phatblat/libgit2 that referenced this pull request Sep 13, 2014
@tkelman tkelman mentioned this pull request Jul 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants