Skip to content
  1. Mar 26, 2018
  2. Mar 23, 2018
  3. Mar 22, 2018
  4. Mar 21, 2018
  5. Mar 20, 2018
  6. Mar 19, 2018
  7. Mar 18, 2018
  8. Mar 17, 2018
  9. Mar 16, 2018
    • 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
  10. Mar 15, 2018
  11. Mar 14, 2018