Skip to content
  1. Oct 25, 2017
    • Daniel Stenberg's avatar
      timediff: return timediff_t from the time diff functions · b9d25f9a
      Daniel Stenberg authored
      ... to cater for systems with unsigned time_t variables.
      
      - Renamed the functions to curlx_timediff and Curl_timediff_us.
      
      - Added overflow protection for both of them in either direction for
        both 32 bit and 64 bit time_ts
      
      - Reprefixed the curlx_time functions to use Curl_*
      
      Reported-by: Peter Piekarski
      Fixes #2004
      Closes #2005
      b9d25f9a
  2. Oct 22, 2017
  3. Oct 20, 2017
  4. Oct 19, 2017
  5. Oct 16, 2017
    • Daniel Stenberg's avatar
      setopt: range check most long options · f121575c
      Daniel Stenberg authored
      ... filter early instead of risking "funny values" having to be dealt
      with elsewhere.
      f121575c
    • Daniel Stenberg's avatar
      setopt: avoid integer overflows when setting millsecond values · 172ce9cc
      Daniel Stenberg authored
      ... that are multiplied by 1000 when stored.
      
      For 32 bit long systems, the max value accepted (2147483 seconds) is >
      596 hours which is unlikely to ever be set by a legitimate application -
      and previously it didn't work either, it just caused undefined behavior.
      
      Also updated the man pages for these timeout options to mention the
      return code.
      
      Closes #1938
      172ce9cc
  6. Oct 15, 2017
  7. Oct 14, 2017
  8. Oct 13, 2017
  9. Oct 12, 2017
  10. Oct 11, 2017
  11. Oct 10, 2017
  12. Oct 09, 2017
  13. Oct 08, 2017
  14. Oct 07, 2017
  15. Oct 06, 2017
  16. Oct 05, 2017
  17. Oct 04, 2017
    • Viktor Szakats's avatar
      lib/Makefile.m32: allow customizing dll suffixes · aaa16f80
      Viktor Szakats authored
      - New `CURL_DLL_SUFFIX` envvar will add a suffix to the generated
        libcurl dll name. Useful to add `-x64` to 64-bit builds so that
        it can live in the same directory as the 32-bit one. By default
        this is empty.
      
      - New `CURL_DLL_A_SUFFIX` envvar to customize the suffix of the
        generated import library (implib) for libcurl .dll. It defaults
        to `dll`, and it's useful to modify that to `.dll` to have the
        standard naming scheme for mingw-built .dlls, i.e. `libcurl.dll.a`.
      
      Closes https://github.com/curl/curl/pull/1942
      aaa16f80