- 30 Aug, 2021 1 commit
-
-
Prior to this change, for CONNECT requests, the Host header was set to the host and port of the target http proxy. However, per the rfc7230 for HTTP/1.1 this is incorrect as the Host header should match the target of the CONNECT request, as detailed in section 5.3.3 & 5.4. 5.3.3. authority-form The authority-form of request-target is only used for CONNECT requests (Section 4.3.6 of [RFC7231]). authority-form = authority When making a CONNECT request to establish a tunnel through one or more proxies, a client MUST send only the target URI's authority component (excluding any userinfo and its "@" delimiter) as the request-target. For example, CONNECT www.example.com:80 HTTP/1.1 5.4. Host <snip> A client MUST send a Host header field in all HTTP/1.1 request messages. If the target URI includes an authority component, then a client MUST send a field-value for Host that is identical to that authority component, excluding any userinfo subcomponent and its "@" delimiter (Section 2.7.1). If the authority component is missing or undefined for the target URI, then a client MUST send a Host header field with an empty field-value. This issue was noticed when proxying requests through HAProxy 2.2 which rejects these invalid http requests.
Jesse Hathaway committed
-
- 27 Aug, 2021 2 commits
-
-
git_array_alloc: return objects of correct type
Edward Thomson committed -
Homogenize semantics for atomic-related functions
Edward Thomson committed
-
- 26 Aug, 2021 5 commits
-
-
Set refs/remotes/origin/HEAD to default branch when branch is specified
Edward Thomson committed -
There were some subtle semantic differences between the various implementations of atomic functions. Now they behave the same, have tests and are better documented to avoid this from happening again in the future. Of note: * The semantics chosen for `git_atomic_compare_and_swap` match `InterlockedCompareExchangePointer`/`__sync_cal_compare_and_swap` now. * The semantics chosen for `git_atomic_add` match `InterlockedAdd`/`__atomic_add_fetch`. * `git_atomic_swap` and `git_atomic_load` still have a bit of semantic difference with the gcc builtins / msvc interlocked operations, since they require an l-value (not a pointer). If desired, this can be homogenized.
lhchavez committed -
Alexander Ovchinnikov committed
-
Alexander Ovchinnikov committed
-
This reverts commit 487f2a82, reversing changes made to c6cf7f0e.
Alexander Ovchinnikov committed
-
- 25 Aug, 2021 12 commits
-
-
Peter Pettersson committed
-
array: check dereference from void * type
Edward Thomson committed -
GCC C11 warnings
Edward Thomson committed -
Peter Pettersson committed
-
Peter Pettersson committed
-
Instead of buf->"typeofbuffer"ReparseBuffer the members will be referenced with buf->ReparseBuffer."typeofbuffer" https://docs.microsoft.com/en-us/windows-hardware/drivers/ddi/ntifs/ns-ntifs-_reparse_data_buffer?redirectedfrom=MSDN calls the union DUMMYUNIONNAME but that looks a bit cluttered.
Peter Pettersson committed -
Introduce GIT_WARN_UNUSED_RESULT
Edward Thomson committed -
open: input validation for empty segments in path
Edward Thomson committed -
Peter Pettersson committed
-
C11 warnings
Edward Thomson committed -
Peter Pettersson committed
-
Peter Pettersson committed
-
- 24 Aug, 2021 9 commits
-
-
Dynamically load OpenSSL (optionally)
Edward Thomson committed -
Add Xenial, Bionic, CentOS 7 and 8 workflows with OpenSSL-Dynamic builds nightly.
Edward Thomson committed -
Defer dlopen until it's needed when dynamically loading OpenSSL libraries.
Edward Thomson committed -
Edward Thomson committed
-
Edward Thomson committed
-
The ntlmclient dependency can now dynamically load OpenSSL.
Edward Thomson committed -
dlopen sets up some thread-local state that isn't cleaned up by `dlclose`. Additionally, now that we're linking against different versions of libssh2 and OpenSSL, we're seeing different leak signatures.
Edward Thomson committed -
Provide an interface around OpenSSL to dynamically load the libraries and symbols, so that users can distribute a libgit2 library that is not linked directly against OpenSSL. This enables users to target multiple distributions with a single binary. This mechanism is optional and disabled by default. Configure cmake with -DUSE_HTTPS=OpenSSL-Dynamic to use it.
Edward Thomson committed -
Refactor the OpenSSL stream implementation so that the legacy code is better abstracted. This will enable future development.
Edward Thomson committed
-
- 23 Aug, 2021 3 commits
-
-
ci: tag new containers with the latest tag
Edward Thomson committed -
Update all the container versions to force a rebuild so that they'll get tagged with latest (due to changes in the CI scripts).
Edward Thomson committed -
Edward Thomson committed
-
- 21 Aug, 2021 4 commits
-
-
ci: update centos builds
Edward Thomson committed -
openssl: don't fail when we can't customize allocators
Edward Thomson committed -
Edward Thomson committed
-
During valgrind runs, we try to swap out the OpenSSL allocators for our own. This allows us to avoid some unnecessary warnings about usage. Unfortunately, many builds of OpenSSL do not allow you to swap allocators; for example FIPS builds and the builds running in CentOS. Try to swap the allocators, but do not fail when they cannot be customized.
Edward Thomson committed
-
- 18 Aug, 2021 2 commits
-
-
sha1dc: remove conditional for <sys/types.h>
Edward Thomson committed -
Peter Pettersson committed
-
- 17 Aug, 2021 2 commits
-
-
Edward Thomson committed
-
Julien Richard committed
-