Skip to content
  1. Dec 15, 2013
    • Daniel Stenberg's avatar
      multi: add timer inaccuracy margin to timeout/connecttimeout · be28223f
      Daniel Stenberg authored
      Since all systems have inaccuracy in the timeout handling it is
      imperative that we add an inaccuracy margin to the general timeout and
      connecttimeout handling with the multi interface. This way, when the
      timeout fires we should be fairly sure that it has passed the timeout
      value and will be suitably detected.
      
      For cases where the timeout fire before the actual timeout, we would
      otherwise consume the timeout action and still not run the timeout code
      since the condition wasn't met.
      
      Reported-by: He Qin
      Bug: http://curl.haxx.se/bug/view.cgi?id=1298
      be28223f
  2. Dec 14, 2013
  3. Dec 13, 2013
    • Steve Holme's avatar
      imap: Fixed incorrect fallback to clear text authentication · 75cd7fd6
      Steve Holme authored
      If a specific SASL authentication mechanism was requested by the user
      as part of the login options but wasn't supported by the server then
      curl would fallback to clear text, when it shouldn't, rather than
      reporting "No known authentication mechanisms supported" as the POP3
      and SMTP protocols do.
      75cd7fd6
  4. Dec 11, 2013
    • Eric Lubin's avatar
      parsedate: avoid integer overflow · 7246dfff
      Eric Lubin authored
      In C, signed integer overflow is undefined behavior. Thus, the compiler
      is allowed to assume that it will not occur. In the check for an
      overflow, the developer assumes that the signed integer of type time_t
      will wrap around if it overflows. However, this behavior is undefined in
      the C standard. Thus, when the compiler sees this, it simplifies t +
      delta < t to delta < 0. Since delta > 0 and delta < 0 can't both be
      true, the entire if statement is optimized out under certain
      optimization levels. Thus, the parsedate function would return
      PARSEDATE_OK with an undefined value in the time, instead of return -1 =
      PARSEDATE_FAIL.
      7246dfff
  5. Dec 09, 2013
  6. Dec 07, 2013
  7. Dec 06, 2013
    • Christian Weisgerber's avatar
      curl.h: <sys/select.h> for OpenBSD · 92e607ab
      Christian Weisgerber authored
      curl.h should also include <sys/select.h> on OpenBSD to reliably
      pull in select().  Typically, including <sys/time.h> will be enough,
      but not if strict standards-compliance is requested (e.g. by defining
      _XOPEN_SOURCE).
      92e607ab
  8. Dec 04, 2013
  9. Dec 02, 2013
  10. Dec 01, 2013
  11. Nov 30, 2013
  12. Nov 29, 2013
  13. Nov 28, 2013
  14. Nov 27, 2013