1. 30 Jan, 2018 2 commits
  2. 29 Jan, 2018 4 commits
    • Daniel Stenberg's avatar
      configure: set PATH_SEPARATOR to colon for PATH w/o separator · b7db2842
      Daniel Stenberg authored
      The logic tries to figure out what the path separator in the $PATH
      variable is, but if there's only one directory in the $PATH it
      fails. This change make configure *guess* on colon instead of erroring
      out, simply because that is probably the more common character.
      
      PATH_SEPARATOR can always be set by the user to override the guessing.
      
      (tricky bug to reproduce, as in my case for example the configure script
      requires binaries in more than one directory so passing in a PATH with a
      single dir fails.)
      
      Reported-by: Earnestly on github
      Fixes #2202
      Closes #2265
      b7db2842
    • Daniel Stenberg's avatar
      curl_ctype: private is*() type macros and functions · 4272a0b0
      Daniel Stenberg authored
      ... since the libc provided one are locale dependent in a way we don't
      want. Also, the "native" isalnum() (for example) works differently on
      different platforms which caused test 1307 failures on macos only.
      
      Closes #2269
      4272a0b0
    • Marcel Raad's avatar
      build: open VC15 projects with VS 2017 · 93836e2b
      Marcel Raad authored
      Previously, they were opened with Visual Studio 2015 by default, which
      cannot build them.
      93836e2b
    • Daniel Stenberg's avatar
      RELEASE-NOTES: synced with 094647fc · 1c920749
      Daniel Stenberg authored
      1c920749
  3. 28 Jan, 2018 2 commits
  4. 27 Jan, 2018 1 commit
  5. 26 Jan, 2018 3 commits
  6. 25 Jan, 2018 11 commits
  7. 24 Jan, 2018 3 commits
  8. 23 Jan, 2018 5 commits
  9. 22 Jan, 2018 2 commits
    • Daniel Stenberg's avatar
      http: prevent custom Authorization headers in redirects · af32cd38
      Daniel Stenberg authored
      ... unless CURLOPT_UNRESTRICTED_AUTH is set to allow them. This matches how
      curl already handles Authorization headers created internally.
      
      Note: this changes behavior slightly, for the sake of reducing mistakes.
      
      Added test 317 and 318 to verify.
      
      Reported-by: Craig de Stigter
      Bug: https://curl.haxx.se/docs/adv_2018-b3bf.html
      af32cd38
    • Daniel Stenberg's avatar
      curl: progress bar refresh, get width using ioctl() · 993dd565
      Daniel Stenberg authored
      Get screen width from the environment variable COLUMNS first, if set. If
      not, use ioctl(). If nether works, assume 79.
      
      Closes #2242
      
      The "refresh" is for the -# output when no total transfer size is
      known. It will now only use a single updated line even for this case:
      
      The "-=O=-" ship moves when data is transferred. The four flying
      "hashes" move (on a sine wave) on each refresh, independent of data.
      993dd565
  10. 20 Jan, 2018 3 commits
  11. 18 Jan, 2018 4 commits
    • Kartik Mahajan's avatar
      http2: don't close connection when single transfer is stopped · a5e6d6eb
      Kartik Mahajan authored
      Fixes #2237
      Closes #2249
      a5e6d6eb
    • Daniel Stenberg's avatar
      test558: fix for multissl builds · 87ddeee5
      Daniel Stenberg authored
      vtls.c:multissl_init() might do a curl_free() call so strip that out to
      make this work with more builds. We just want to verify that
      memorytracking works so skipping one line is no harm.
      87ddeee5
    • Daniel Stenberg's avatar
      examples/url2file.c: add missing curl_global_cleanup() call · da07dbb8
      Daniel Stenberg authored
      Reported-by: XhstormR on github
      Fixes #2245
      da07dbb8
    • Michael Gmelin's avatar
      SSH: Fix state machine for ssh-agent authentication · ddafd45a
      Michael Gmelin authored
      In case an identity didn't match[0], the state machine would fail in
      state SSH_AUTH_AGENT instead of progressing to the next identity in
      ssh-agent. As a result, ssh-agent authentication only worked if the
      identity required happened to be the first added to ssh-agent.
      
      This was introduced as part of commit c4eb10e2, which
      stated that the "else" statement was required to prevent getting stuck
      in state SSH_AUTH_AGENT. Given the state machine's logic and libssh2's
      interface I couldn't see how this could happen or reproduce it and I
      also couldn't find a more detailed description of the problem which
      would explain a test case to reproduce the problem this was supposed to
      fix.
      
      [0] libssh2_agent_userauth returning LIBSSH2_ERROR_AUTHENTICATION_FAILED
      
      Closes #2248
      ddafd45a