1. 15 Nov, 2021 1 commit
  2. 24 Aug, 2021 1 commit
    • openssl: dynamically load libssl and symbols (optionally) · 0903cac1
      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
  3. 27 Nov, 2020 1 commit
  4. 24 Jan, 2020 1 commit
  5. 10 Jun, 2019 1 commit
    • net: rename gitno_connection_data to git_net_url · c6ab183e
      "Connection data" is an imprecise and largely incorrect name; these
      structures are actually parsed URLs.  Provide a parser that takes a URL
      string and produces a URL structure (if it is valid).
      
      Separate the HTTP redirect handling logic from URL parsing, keeping a
      `gitno_connection_data_handle_redirect` whose only job is redirect
      handling logic and does not parse URLs itself.
      Edward Thomson committed
  6. 09 Nov, 2018 1 commit
  7. 19 Mar, 2018 2 commits
  8. 03 Jul, 2017 1 commit
    • Make sure to always include "common.h" first · 0c7f49dd
      Next to including several files, our "common.h" header also declares
      various macros which are then used throughout the project. As such, we
      have to make sure to always include this file first in all
      implementation files. Otherwise, we might encounter problems or even
      silent behavioural differences due to macros or defines not being
      defined as they should be. So in fact, our header and implementation
      files should make sure to always include "common.h" first.
      
      This commit does so by establishing a common include pattern. Header
      files inside of "src" will now always include "common.h" as its first
      other file, separated by a newline from all the other includes to make
      it stand out as special. There are two cases for the implementation
      files. If they do have a matching header file, they will always include
      this one first, leading to "common.h" being transitively included as
      first file. If they do not have a matching header file, they instead
      include "common.h" as first file themselves.
      
      This fixes the outlined problems and will become our standard practice
      for header and source files inside of the "src/" from now on.
      Patrick Steinhardt committed
  9. 08 Sep, 2015 1 commit
  10. 04 Sep, 2015 1 commit
  11. 23 Apr, 2015 1 commit
  12. 10 Dec, 2014 2 commits
  13. 24 Sep, 2014 1 commit
  14. 16 Sep, 2014 1 commit
    • net: remove support for outright ignoring certificates · 41698f22
      This option make it easy to ignore anything about the server we're
      connecting to, which is bad security practice. This was necessary as we
      didn't use to expose detailed information about the certificate, but now
      that we do, we should get rid of this.
      
      If the user wants to ignore everything, they can still provide a
      callback which ignores all the information passed.
      Carlos Martín Nieto committed
  15. 12 Jun, 2014 1 commit
  16. 26 Apr, 2014 1 commit
  17. 04 Nov, 2013 1 commit
  18. 26 Sep, 2013 2 commits
  19. 31 Jan, 2013 2 commits
  20. 08 Jan, 2013 1 commit
  21. 07 Nov, 2012 1 commit
  22. 06 Nov, 2012 1 commit
  23. 01 Nov, 2012 1 commit
  24. 20 Oct, 2012 1 commit
  25. 30 Jul, 2012 2 commits
  26. 24 Jul, 2012 1 commit
  27. 19 May, 2012 3 commits
  28. 05 May, 2012 1 commit
    • Fix gitno_connect() error handling on Windows · b4b96d56
      gitno_connect() can return an error or socket, which is fine on most
      platforms where sockets are file descriptors (signed int), but on Windows,
      SOCKET is an unsigned type, which is problematic when we are trying to
      test if the socket was actually a negative error code.
      
      This fix seperates the error code and socket in gitno_connect(), and fixes
      the error handling in do_connect() functions to compensate. It appears
      that git_connect() and the git-transport do_connect() functions had bugs
      in the non-windows cases too (leaking sockets, and not properly reporting
      connection error, respectively) so I went ahead and fixed those too.
      Scott J. Goldman committed
  29. 17 Apr, 2012 1 commit
  30. 13 Feb, 2012 1 commit
  31. 12 Oct, 2011 1 commit
    • net,pkt: add chunked support · 34bfb4b0
      As we don't know the length of the message we want to send to the
      other end, we send a chunk size before each message. In later
      versions, sending the wants might benefit from batching the lines
      together.
      
      Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
      Carlos Martín Nieto committed
  32. 30 Sep, 2011 2 commits