- 30 Jun, 2015 1 commit
-
-
Edward Thomson committed
-
- 19 Mar, 2015 1 commit
-
-
Tony Kelman committed
-
- 18 Mar, 2015 1 commit
-
-
The smart transport has already take the payload param. For the sub transport a payload param is useful for the implementer.
Leo Yang committed
-
- 16 Mar, 2015 2 commits
-
-
Alex Crichton committed
-
Philip Kelley committed
-
- 13 Feb, 2015 1 commit
-
-
Introduce some helper macros to test integer overflow from arithmetic and set error message appropriately.
Edward Thomson committed
-
- 09 Dec, 2014 1 commit
-
-
Edward Thomson committed
-
- 03 Dec, 2014 1 commit
-
-
Edward Thomson committed
-
- 27 Oct, 2014 1 commit
-
-
Signed-off-by: Sven Strickroth <email@cs-ware.de>
Sven Strickroth committed
-
- 22 Sep, 2014 1 commit
-
-
Signed-off-by: Sven Strickroth <email@cs-ware.de>
Sven Strickroth committed
-
- 16 Sep, 2014 6 commits
-
-
This brings us back in line with the other transports.
Carlos Martín Nieto committed -
Instead of spreading the data in function arguments, some of which aren't used for ssh and having a struct only for ssh, use a struct for both, using a common parent to pass to the callback.
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
-
- 27 Aug, 2014 2 commits
-
-
nulltoken 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
-
- 23 Aug, 2014 1 commit
-
-
Rafal Nowosielski committed
-
- 15 Aug, 2014 1 commit
-
-
Decode base64-encoded text into a git_buf
Edward Thomson committed
-
- 05 Aug, 2014 2 commits
-
-
Jacques Germishuys committed
-
Jacques Germishuys committed
-
- 20 Apr, 2014 1 commit
-
-
Philip Kelley committed
-
- 18 Mar, 2014 1 commit
-
-
Philip Kelley committed
-
- 11 Dec, 2013 1 commit
-
-
This changes the behavior of callbacks so that the callback error code is not converted into GIT_EUSER and instead we propagate the return value through to the caller. Instead of using the giterr_capture and giterr_restore functions, we now rely on all functions to pass back the return value from a callback. To avoid having a return value with no error message, the user can call the public giterr_set_str or some such function to set an error message. There is a new helper 'giterr_set_callback' that functions can invoke after making a callback which ensures that some error message was set in case the callback did not set one. In places where the sign of the callback return value is meaningful (e.g. positive to skip, negative to abort), only the negative values are returned back to the caller, obviously, since the other values allow for continuing the loop. The hardest parts of this were in the checkout code where positive return values were overloaded as meaningful values for checkout. I fixed this by adding an output parameter to many of the internal checkout functions and removing the overload. This added some code, but it is probably a better implementation. There is some funkiness in the network code where user provided callbacks could be returning a positive or a negative value and we want to rely on that to cancel the loop. There are still a couple places where an user error might get turned into GIT_EUSER there, I think, though none exercised by the tests.
Russell Belfer committed
-
- 18 Nov, 2013 2 commits
-
-
Edward Thomson committed
-
Edward Thomson committed
-
- 25 Oct, 2013 1 commit
-
-
Edward Thomson committed
-
- 08 Oct, 2013 2 commits
-
-
Ben Straub committed
-
Ben Straub committed
-
- 26 Sep, 2013 3 commits
-
-
Ben Straub committed
-
...and have that call manage replaced memory in the output structure.
Ben Straub committed -
Ben Straub committed
-
- 25 Sep, 2013 2 commits
-
-
Ben Straub committed
-
Ben Straub committed
-
- 19 Sep, 2013 1 commit
-
-
Linquize committed
-
- 28 Aug, 2013 1 commit
-
-
Edward Thomson committed
-
- 13 Aug, 2013 2 commits
-
-
Russell Belfer committed
-
Vicent Marti committed
-
- 08 Aug, 2013 1 commit
-
-
Ben Straub committed
-