1. 02 Jun, 2010 7 commits
  2. 01 Jun, 2010 4 commits
    • Daniel Stenberg's avatar
      multi_socket: handles timer inaccuracy better for timeouts · 2c72732e
      Daniel Stenberg authored
      Igor Novoseltsev reported a problem with the multi socket API and
      using timeouts and timers. It boiled down to a problem with
      libcurl's use of GetTickCount() interally to figure out the
      current time, while Igor's own application code used another
      function call.
      
      It made his app call the socket API timeout function a bit
      _before_ libcurl would consider the timeout to trigger, and that
      could easily lead to timeouts or stalls in the app. It seems
      GetTickCount() in general often has no better resolution than
      16ms and switching to the alternative function
      QueryPerformanceCounter has its share of problems:
      http://www.virtualdub.org/blog/pivot/entry.php?id=106
      
      We address this problem by simply having libcurl treat timers
      that already has occured or will occur within 40ms subject for
      treatment. I'm confident that there are other implementations and
      operating systems with similarly in accurate timer functions so
      it makes sense to have applied generically and I don't believe we
      sacrifice much by adding a 40ms inaccuracy on these timeouts.
      2c72732e
    • Yang Tse's avatar
      fix ldaps option issue · e1c2c9be
      Yang Tse authored
      e1c2c9be
    • Yang Tse's avatar
      fix ldap related compilation issues · 89da5324
      Yang Tse authored
      89da5324
    • Yang Tse's avatar
      b38189c7
  3. 31 May, 2010 10 commits
  4. 29 May, 2010 2 commits
  5. 28 May, 2010 4 commits
  6. 27 May, 2010 13 commits