- 16 Sep, 2014 11 commits
-
-
This should make the mingw compiler happy.
Carlos Martín Nieto committed -
If the user returns 0 from the certificate check and we had certificate issues, set the options to ignore certificate errors and resend the request.
Carlos Martín Nieto committed -
We need to call WinHttpSendRequest() in three different places. Unify all in a single function to have a single place for the certificate check.
Carlos Martín Nieto committed -
If we're not using SSL, don't call the user's certificate check callback.
Carlos Martín Nieto committed -
On successful connection, still ask the user whether they accept the server's certificate, indicating that WinHTTP would let it though.
Carlos Martín Nieto committed -
Returning 0 lets the certificate check succeed. An error code is bubbled up to the user.
Carlos Martín Nieto committed -
We know the host's key as soon as we connect, so we should perform the check as soon as we can, before we bother with the user's credentials.
Carlos Martín Nieto committed -
We should let the user decide whether to cancel the connection or not regardless of whether our checks have decided that the certificate is fine. We provide our own assessment to the callback to let the user fall back to our checks if they so desire.
Carlos Martín Nieto committed -
Carlos Martín Nieto committed
-
Instead of the parsed data, we can ask OpenSSL to give us the DER-encoded version of the certificate, which the user can then parse and validate.
Carlos Martín Nieto committed -
If the certificate validation fails (or always in the case of ssh), let the user decide whether to allow the connection. The data structure passed to the user is the native certificate information from the underlying implementation, namely OpenSSL or WinHTTP.
Carlos Martín Nieto committed
-
- 28 Aug, 2014 3 commits
-
-
Fix ahead-behind results
Vicent Marti committed -
When we see PARENT1, it means there is a local commit and thus we are ahead. Likewise, seeing PARENT2 means that the upstream branch has a commit and we are one more behind. The logic is currently reversed. Correct it. This fixes #2501.
Carlos Martín Nieto committed -
The logic was reversed. I have checked manually each pair with git and adjusted the expectation to what git status prints.
Carlos Martín Nieto committed
-
- 27 Aug, 2014 10 commits
-
-
winhttp: Prevent swallowing of url parsing error
Vicent Marti committed -
Set timeout on remote (Add timeout for WinHttpReceiveResponse #2147)
Vicent Marti committed -
Allow to override default ssh transport_cb - in order to allow third party ssh transports
Vicent Marti committed -
nulltoken committed
-
Signed-off-by: Sven Strickroth <email@cs-ware.de>
Sven Strickroth committed -
Carlos Martín Nieto committed
-
Carlos Martín Nieto committed
-
Carlos Martín Nieto committed
-
Carlos Martín Nieto committed
-
Set timeout on remote (WinHTTP) should return error in case of failure. Connection timeout set to 1 minute. Read/Write timeout remains set to infinite #2147
Rafal Nowosielski committed
-
- 26 Aug, 2014 8 commits
-
-
Refactor git_cache to use an rwlock
Vicent Marti committed -
This significantly reduces contention when many threads are trying to read from the cache simultaneously.
Justin Spahr-Summers committed -
Fix bugs with negative ignores inside an ignored parent directory
Vicent Marti committed -
add Julia to the language bindings list
Vicent Marti committed -
pack: return the correct final offset
Vicent Marti committed -
W/o this patch it is not possible to have a third party ssh transport_cb if GIT_SSH is disabled or a third party transport_cb which has a higher priority than the default one. Signed-off-by: Sven Strickroth <email@cs-ware.de>
Sven Strickroth committed -
The callers of git_packfile_unpack() expect the obj_offset argument to be set to the beginning of the next object. We were mistakenly returning the the offset of the object's data, which causes the CRC function to try to use the wrong offset. Set obj_offset to curpos instead of elem->offset to point to the next element and bring back expected behaviour.
Carlos Martín Nieto committed -
jake bolewski committed
-
- 25 Aug, 2014 4 commits
-
-
merge base: Correctly raise an error if a non-commit object is passed.
Vicent Marti committed -
Arthur Schreiber committed
-
Allow mkdir helper to skip parent errors
Vicent Marti committed -
Check if the refspec matches before transforming
Vicent Marti committed
-
- 23 Aug, 2014 1 commit
-
-
Rafal Nowosielski committed
-
- 22 Aug, 2014 1 commit
-
-
Our mkdir helper was failing is a parent directory was not accessible even if the child directory could be created. This changes the helper to keep trying child directories even when the parent is unwritable.
Russell Belfer committed
-
- 21 Aug, 2014 1 commit
-
-
Jacques Germishuys committed
-
- 18 Aug, 2014 1 commit
-
-
Export `git_oid_tostr_s` instead of `_allocfmt`
Vicent Marti committed
-