1. 10 Jan, 2019 4 commits
    • Daniel Stenberg's avatar
      RELEASE-NOTES: synced · f5fb0c52
      Daniel Stenberg authored
      f5fb0c52
    • Daniel Stenberg's avatar
      xattr: strip credentials from any URL that is stored · 98e66291
      Daniel Stenberg authored
      Both user and password are cleared uncondtitionally.
      
      Added unit test 1621 to verify.
      
      Fixes #3423
      Closes #3433
      98e66291
    • Daniel Stenberg's avatar
      cookies: allow secure override when done over HTTPS · afeb8d99
      Daniel Stenberg authored
      Added test 1562 to verify.
      
      Reported-by: Jeroen Ooms
      Fixes #3445
      Closes #3450
      afeb8d99
    • Daniel Stenberg's avatar
      multi: multiplexing improvements · 4c35574b
      Daniel Stenberg authored
      Fixes #3436
      Closes #3448
      
       Problem 1
      
      After LOTS of scratching my head, I eventually realized that even when doing
      10 uploads in parallel, sometimes the socket callback to the application that
      tells it what to wait for on the socket, looked like it would reflect the
      status of just the single transfer that just changed state.
      
      Digging into the code revealed that this was indeed the truth. When multiple
      transfers are using the same connection, the application did not correctly get
      the *combined* flags for all transfers which then could make it switch to READ
      (only) when in fact most transfers wanted to get told when the socket was
      WRITEABLE.
      
       Problem 1b
      
      A separate but related regression had also been introduced by me when I
      cleared connection/transfer association better a while ago, as now the logic
      couldn't find the connection and see if that was marked as used by more
      transfers and then it would also prematurely remove the socket from the socket
      hash table even in times other transfers were still using it!
      
       Fix 1
      
      Make sure that each socket stored in the socket hash has a "combined" action
      field of what to ask the application to wait for, that is potentially the ORed
      action of multiple parallel transfers. And remove that socket hash entry only
      if there are no transfers left using it.
      
       Problem 2
      
      The socket hash entry stored an association to a single transfer using that
      socket - and when curl_multi_socket_action() was called to tell libcurl about
      activities on that specific socket only that transfer was "handled".
      
      This was WRONG, as a single socket/connection can be used by numerous parallel
      transfers and not necessarily a single one.
      
       Fix 2
      
      We now store a list of handles in the socket hashtable entry and when libcurl
      is told there's traffic for a particular socket, it now iterates over all
      known transfers using that single socket.
      4c35574b
  2. 09 Jan, 2019 4 commits
  3. 08 Jan, 2019 1 commit
  4. 07 Jan, 2019 4 commits
  5. 06 Jan, 2019 2 commits
    • Marcel Raad's avatar
      VS projects: fix build warning · d5cfefd0
      Marcel Raad authored
      Starting with Visual Studio 2017 Update 9, Visual Studio doesn't like
      the MinimalRebuild option anymore and warns:
      
      cl : Command line warning D9035: option 'Gm' has been deprecated and
      will be removed in a future release
      
      The option can be safely removed so that the default is used.
      
      Closes https://github.com/curl/curl/pull/3425
      d5cfefd0
    • Marcel Raad's avatar
      schannel: fix compiler warning · e939afeb
      Marcel Raad authored
      When building with Unicode on MSVC, the compiler warns about freeing a
      pointer to const in Curl_unicodefree. Fix this by declaring it as
      non-const and casting the argument to Curl_convert_UTF8_to_tchar to
      non-const too, like we do in all other places.
      
      Closes https://github.com/curl/curl/pull/3435
      e939afeb
  6. 04 Jan, 2019 2 commits
  7. 03 Jan, 2019 3 commits
  8. 02 Jan, 2019 3 commits
  9. 01 Jan, 2019 3 commits
  10. 31 Dec, 2018 1 commit
  11. 30 Dec, 2018 3 commits
  12. 27 Dec, 2018 2 commits
    • Daniel Gustafsson's avatar
      RELEASE-NOTES: synced · a63fe3e5
      Daniel Gustafsson authored
      a63fe3e5
    • Claes Jakobsson's avatar
      hostip: support wildcard hosts · d8cae791
      Claes Jakobsson authored
      This adds support for wildcard hosts in CURLOPT_RESOLVE. These are
      try-last so any non-wildcard entry is resolved first. If specified,
      any host not matched by another CURLOPT_RESOLVE config will use this
      as fallback.
      
      Example send a.com to 10.0.0.1 and everything else to 10.0.0.2:
        curl --resolve *:443:10.0.0.2 --resolve a.com:443:10.0.0.1 \
             https://a.com https://b.com
      
      
      
      This is probably quite similar to using:
        --connect-to a.com:443:10.0.0.1:443 --connect-to :443:10.0.0.2:443
      
      Closes #3406
      Reviewed-by: default avatarDaniel Stenberg <daniel@haxx.se>
      d8cae791
  13. 26 Dec, 2018 2 commits
  14. 25 Dec, 2018 3 commits
  15. 24 Dec, 2018 1 commit
  16. 23 Dec, 2018 2 commits