1. 19 Mar, 2018 2 commits
  2. 18 Mar, 2018 2 commits
  3. 17 Mar, 2018 4 commits
  4. 16 Mar, 2018 6 commits
    • Daniel Stenberg's avatar
      multi: improved pending transfers handling => improved performance · 7f9ce085
      Daniel Stenberg authored
      When a transfer is requested to get done and it is put in the pending
      queue when limited by number of connections, total or per-host, libcurl
      would previously very aggressively retry *ALL* pending transfers to get
      them transferring. That was very time consuming.
      
      By reducing the aggressiveness in how pending are being retried, we
      waste MUCH less time on putting transfers back into pending again.
      
      Some test cases got a factor 30(!) speed improvement with this change.
      
      Reported-by: Cyril B
      Fixes #2369
      Closes #2383
      7f9ce085
    • Daniel Stenberg's avatar
      pause: when changing pause state, update socket state · 2404aa08
      Daniel Stenberg authored
      Especially unpausing a transfer might have to move the socket back to the
      "currently used sockets" hash to get monitored. Otherwise it would never get
      any more data and get stuck. Easily triggered with pausing using the
      multi_socket API.
      
      Reported-by: Philip Prindeville
      Bug: https://curl.haxx.se/mail/lib-2018-03/0048.html
      Fixes #2393
      Closes #2391
      2404aa08
    • Philip Prindeville's avatar
      examples/hiperfifo.c: improved · 9434194b
      Philip Prindeville authored
       * use member struct event’s instead of pointers to alloc’d struct
         events
      
       * simplify the cases for the mcode_or_die() function via macros;
      
       * make multi_timer_cb() actually do what the block comment says it
         should;
      
       * accept a “stop” command on the FIFO to shut down the service;
      
       * use cleaner notation for unused variables than the (void) hack;
      
       * allow following redirections (304’s);
      9434194b
    • Daniel Stenberg's avatar
      rate-limit: use three second window to better handle high speeds · f5700ea8
      Daniel Stenberg authored
      Due to very frequent updates of the rate limit "window", it could
      attempt to rate limit within the same milliseconds and that then made
      the calculations wrong, leading to it not behaving correctly on very
      fast transfers.
      
      This new logic updates the rate limit "window" to be no shorter than the
      last three seconds and only updating the timestamps for this when
      switching between the states TOOFAST/PERFORM.
      
      Reported-by: 刘佩东
      Fixes #2386
      Closes #2388
      f5700ea8
    • luz.paz's avatar
      cleanup: misc typos in strings and comments · 236402fc
      luz.paz authored
      Found via `codespell`
      
      Closes #2389
      236402fc
    • Daniel Stenberg's avatar
      RELEASE-NOTES: toward 7.60.0 · 39dc0bca
      Daniel Stenberg authored
      39dc0bca
  5. 15 Mar, 2018 4 commits
  6. 14 Mar, 2018 2 commits
  7. 13 Mar, 2018 3 commits
    • Daniel Stenberg's avatar
      release: 7.59.0 · 4d6bd91a
      Daniel Stenberg authored
      curl-7_59_0
      4d6bd91a
    • Kamil Dudka's avatar
      tests/.../spnego.py: fix identifier typo · 4a9f14d9
      Kamil Dudka authored
      Detected by Coverity Analysis:
      
      Error: IDENTIFIER_TYPO:
      curl-7.58.0/tests/python_dependencies/impacket/spnego.py:229: identifier_typo: Using "SuportedMech" appears to be a typo:
      * Identifier "SuportedMech" is only known to be referenced here, or in copies of this code.
      * Identifier "SupportedMech" is referenced elsewhere at least 4 times.
      curl-7.58.0/tests/python_dependencies/impacket/smbserver.py:2651: identifier_use: Example 1: Using identifier "SupportedMech".
      curl-7.58.0/tests/python_dependencies/impacket/smbserver.py:2308: identifier_use: Example 2: Using identifier "SupportedMech".
      curl-7.58.0/tests/python_dependencies/impacket/spnego.py:252: identifier_use: Example 3: Using identifier "SupportedMech" (2 total uses in this function).
      curl-7.58.0/tests/python_dependencies/impacket/spnego.py:229: remediation: Should identifier "SuportedMech" be replaced by "SupportedMech"?
      
      Closes #2379
      4a9f14d9
    • Daniel Stenberg's avatar
      CURLOPT_COOKIEFILE.3: "-" as file name means stdin · d974b39a
      Daniel Stenberg authored
      Reported-by: Aron Bergman
      Bug: https://curl.haxx.se/mail/lib-2018-03/0049.html
      
      [ci skip]
      d974b39a
  8. 12 Mar, 2018 11 commits
  9. 11 Mar, 2018 6 commits