Skip to content
  1. Sep 12, 2016
  2. Sep 11, 2016
  3. Sep 08, 2016
  4. Sep 07, 2016
  5. Sep 04, 2016
    • Olivier Brunel's avatar
      speed caps: not based on average speeds anymore · 4b86113f
      Olivier Brunel authored
      Speed limits (from CURLOPT_MAX_RECV_SPEED_LARGE &
      CURLOPT_MAX_SEND_SPEED_LARGE) were applied simply by comparing limits
      with the cumulative average speed of the entire transfer; While this
      might work at times with good/constant connections, in other cases it
      can result to the limits simply being "ignored" for more than "short
      bursts" (as told in man page).
      
      Consider a download that goes on much slower than the limit for some
      time (because bandwidth is used elsewhere, server is slow, whatever the
      reason), then once things get better, curl would simply ignore the limit
      up until the average speed (since the beginning of the transfer) reached
      the limit.  This could prove the limit useless to effectively avoid
      using the entire bandwidth (at least for quite some time).
      
      So instead, we now use a "moving starting point" as reference, and every
      time at least as much as the limit as been transferred, we can reset
      this starting point to the current position. This gets a good limiting
      effect that applies to the "current speed" with instant reactivity (in
      case of sudden speed burst).
      
      Closes #971
      4b86113f
  6. Sep 03, 2016
  7. Sep 01, 2016
  8. Aug 31, 2016
  9. Aug 29, 2016
  10. Aug 28, 2016
  11. Aug 25, 2016
  12. Aug 21, 2016
  13. Aug 19, 2016
  14. Aug 17, 2016
  15. Aug 15, 2016
  16. Aug 13, 2016
  17. Aug 11, 2016
  18. Aug 09, 2016
  19. Aug 08, 2016
  20. Aug 07, 2016
  21. Aug 04, 2016
    • Daniel Stenberg's avatar
      CURLOPT_TCP_NODELAY: now enabled by default · 4732ca57
      Daniel Stenberg authored
      After a few wasted hours hunting down the reason for slowness during a
      TLS handshake that turned out to be because of TCP_NODELAY not being
      set, I think we have enough motivation to toggle the default for this
      option. We now enable TCP_NODELAY by default and allow applications to
      switch it off.
      
      This also makes --tcp-nodelay unnecessary, but --no-tcp-nodelay can be
      used to disable it.
      
      Thanks-to: Tim Rühsen
      Bug: https://curl.haxx.se/mail/lib-2016-06/0143.html
      4732ca57
  22. Aug 03, 2016