Skip to content
  1. Apr 29, 2016
    • Karlson2k's avatar
      315f06f5
    • Daniel Stenberg's avatar
      lib: include curl_printf.h as one of the last headers · 4f45240b
      Daniel Stenberg authored
      curl_printf.h defines printf to curl_mprintf, etc. This can cause
      problems with external headers which may use
      __attribute__((format(printf, ...))) markers etc.
      
      To avoid that they cause problems with system includes, we include
      curl_printf.h after any system headers. That makes the three last
      headers to always be, and we keep them in this order:
      
       curl_printf.h
       curl_memory.h
       memdebug.h
      
      None of them include system headers, they all do funny #defines.
      
      Reported-by: David Benjamin
      
      Fixes #743
      4f45240b
    • Daniel Stenberg's avatar
      memdebug.h: remove inclusion of other headers · 63b5378a
      Daniel Stenberg authored
      Mostly because they're not needed, because memdebug.h is always included
      last of all headers so the others already included the correct ones.
      
      But also, starting now we don't want this to accidentally include any
      system headers, as the header included _before_ this header may add
      defines and other fun stuff that we won't want used in system includes.
      63b5378a
    • Jay Satiro's avatar
      curl -J: make it work even without http:// scheme on URL · 0dc4d8e4
      Jay Satiro authored
      It does open up a miniscule risk that one of the other protocols that
      libcurl could use would send back a Content-Disposition header and then
      curl would act on it even if not HTTP.
      
      A future mitigation for this risk would be to allow the callback to ask
      libcurl which protocol is being used.
      
      Verified with test 1312
      
      Closes #760
      0dc4d8e4
  2. Apr 28, 2016
  3. Apr 27, 2016
  4. Apr 26, 2016
  5. Apr 25, 2016
  6. Apr 24, 2016
    • Daniel Stenberg's avatar
      TODO: 1.17 Add support for IRIs · 7215a813
      Daniel Stenberg authored
      Adding support for IRIs is a mouthful, but is probably interesting at
      least for areas and countries where the use of such "URLs" are growing
      popularity.
      
      Closes #776
      7215a813