Skip to content
  1. Sep 09, 2014
  2. Sep 08, 2014
  3. Sep 07, 2014
  4. Sep 06, 2014
  5. Sep 05, 2014
  6. Sep 04, 2014
  7. Sep 03, 2014
  8. Sep 02, 2014
  9. Sep 01, 2014
  10. Aug 31, 2014
    • Vilmos Nebehaj's avatar
      Check CA certificate in curl_darwinssl.c. · 0426670f
      Vilmos Nebehaj authored
      SecCertificateCreateWithData() returns a non-NULL SecCertificateRef even
      if the buffer holds an invalid or corrupt certificate. Call
      SecCertificateCopyPublicKey() to make sure cacert is a valid
      certificate.
      0426670f
    • 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
  11. Aug 30, 2014
  12. Aug 29, 2014
  13. Aug 28, 2014