Skip to content
  1. Aug 31, 2014
    • Daniel Stenberg's avatar
      low-speed-limit: avoid timeout flood · cacdc27f
      Daniel Stenberg authored
      Introducing Curl_expire_latest(). To be used when we the code flow only
      wants to get called at a later time that is "no later than X" so that
      something can be checked (and another timeout be added).
      
      The low-speed logic for example could easily be made to set very many
      expire timeouts if it would be called faster or sooner than what it had
      set its own timer and this goes for a few other timers too that aren't
      explictiy checked for timer expiration in the code.
      
      If there's no condition the code that says if(time-passed >= TIME), then
      Curl_expire_latest() is preferred to Curl_expire().
      
      If there exists such a condition, it is on the other hand important that
      Curl_expire() is used and not the other.
      
      Bug: http://curl.haxx.se/mail/lib-2014-06/0235.html
      Reported-by: Florian Weimer
      cacdc27f
    • Michael Wallner's avatar
      resolve: cache lookup for async resolvers · 09b5a998
      Michael Wallner authored
      While waiting for a host resolve, check if the host cache may have
      gotten the name already (by someone else), for when the same name is
      resolved by several simultanoues requests.
      
      The resolver thread occasionally gets stuck in getaddrinfo() when the
      DNS or anything else is crappy or slow, so when a host is found in the
      DNS cache, leave the thread alone and let itself cleanup the mess.
      09b5a998
  2. Aug 29, 2014
  3. Aug 28, 2014
  4. Aug 27, 2014
  5. Aug 26, 2014
  6. Aug 25, 2014
  7. Aug 22, 2014
  8. Aug 21, 2014
  9. Aug 20, 2014