| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
This is something we've gone back and forth on a bit. Whether we should treat HTTPS or SSH any different just because git ships with them. We currently treat them as any other pluggable protocol, but there's been some confusion as it often ends up without HTTPS on the field. The way to fix this should be to remove the special-casing, rather than adding more. If adding this define makes the code work sensibly, it shows that we don't actually need it and should instead let the TLS stream constructors error out instead. |
Sorry, something went wrong.
| | GIT_FEATURE_THREADS | ||
| #endif | ||
| #if defined(GIT_OPENSSL) || defined(GIT_WINHTTP) || defined(GIT_SECURE_TRANSPORT) | ||
| #if defined(GIT_OPENSSL) || defined(GIT_WINHTTP) || defined(GIT_SECURE_TRANSPORT) || defined(GIT_CUSTOM_TLS) |
There was a problem hiding this comment.
This defines are there to show how libgit2 was compiled. Adding this would make it meaningless.
Sorry, something went wrong.
|
Fair enough. Removing this make sense as TLS stream creation would fail if stream constructor is not provided. |
Sorry, something went wrong.
|
Bump. Thoughts on this without any of the ifdefs? |
Sorry, something went wrong.
|
Yep! This looks good to me - thanks! |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Unfortunately, custom TLS stream API is useless because https transport become disabled when any of secure connection frameworks aren't used.