Skip to content
  1. Oct 04, 2017
  2. Oct 03, 2017
  3. Oct 02, 2017
  4. Oct 01, 2017
  5. Sep 30, 2017
    • Daniel Stenberg's avatar
      cookie: fix memory leak if path was set twice in header · 8392a0cf
      Daniel Stenberg authored
      ... this will let the second occurance override the first.
      
      Added test 1161 to verify.
      
      Reported-by: Max Dymond
      Fixes #1932
      Closes #1933
      8392a0cf
    • Dan Fandrich's avatar
      test650: Use variable replacement to set the host address and port · cecffff5
      Dan Fandrich authored
      Otherwise, the test fails when the -b test option is used to set a
      different test port range.
      cecffff5
    • Dan Fandrich's avatar
      Set and use more necessary options when some protocols are disabled · df7839b6
      Dan Fandrich authored
      When curl and libcurl are built with some protocols disabled, they stop
      setting and receiving some options that don't make sense with those
      protocols.  In particular, when HTTP is disabled many options aren't set
      that are used only by HTTP.  However, some options that appear to be
      HTTP-only are actually used by other protocols as well (some despite
      having HTTP in the name) and should be set, but weren't. This change now
      causes some of these options to be set and used for more (or for all)
      protocols. In particular, this fixes tests 646 through 649 in an
      HTTP-disabled build, which use the MIME API in the mail protocols.
      df7839b6
  6. Sep 29, 2017
  7. Sep 28, 2017
  8. Sep 27, 2017
    • Daniel Stenberg's avatar
      curl.h: include <sys/select.h> on cygwin too · 6aa86c49
      Daniel Stenberg authored
      When building with -std=c++14 on cygwin, this header won't be
      automatically included as it otherwise is.
      
      The <sys/select.h> include decision should ideally be reversed and be
      avoided where that header file doesn't exist.
      
      Reported-by: Ian Fette
      Fixes #1925
      6aa86c49
  9. Sep 25, 2017
  10. Sep 24, 2017
  11. Sep 23, 2017
  12. Sep 22, 2017
    • Viktor Szakats's avatar
      metalink: fix NSS issue in MultiSSL builds · de471589
      Viktor Szakats authored
      In MultiSSL mode (i.e. when more than one SSL backend is compiled
      in), we cannot use the compile time flag `USE_NSS` as indicator that
      the NSS backend is in use. As far as Metalink is concerned, the SSL
      backend is only used for MD5, SHA-1 and SHA-256 calculations,
      therefore one of the available SSL backends is selected at compile
      time, in a strict order of preference.
      
      Let's introduce a new `HAVE_NSS_CONTEXT` constant that can be used
      to determine whether the SSL backend used for Metalink is the NSS
      backend, and use that to guard the code that wants to de-initialize
      the NSS-specific data structure.
      
      Ref: https://github.com/curl/curl/pull/1848
      de471589
    • Viktor Szakats's avatar
      ntlm: use strict order for SSL backend #if branches · 6f86022d
      Viktor Szakats authored
      With the recently introduced MultiSSL support multiple SSL backends
      can be compiled into cURL That means that now the order of the SSL
      
      One option would be to use the same SSL backend as was configured
      via `curl_global_sslset()`, however, NTLMv2 support would appear
      to be available only with some SSL backends. For example, when
      eb88d778 (ntlm: Use Windows Crypt API, 2014-12-02) introduced
      support for NTLMv1 using Windows' Crypt API, it specifically did
      *not* introduce NTLMv2 support using Crypt API at the same time.
      
      So let's select one specific SSL backend for NTLM support when
      compiled with multiple SSL backends, using a priority order such
      that we support NTLMv2 even if only one compiled-in SSL backend can
      be used for that.
      
      Ref: https://github.com/curl/curl/pull/1848
      6f86022d
    • Daniel Stenberg's avatar
      symbols-in-versions: add CURLSSLSET_NO_BACKENDS · 7c52b12d
      Daniel Stenberg authored
      ...fixup from b8e0fe19
      7c52b12d
    • Daniel Stenberg's avatar
      imap: quote atoms properly when escaping characters · 3b05f79e
      Daniel Stenberg authored
      Updates test 800 to verify
      
      Fixes #1902
      Closes #1903
      3b05f79e