Skip to content
  1. May 08, 2016
    • Antonio Larrosa's avatar
      connect: fix invalid "Network is unreachable" errors · ae8f6620
      Antonio Larrosa authored
      Sometimes, in systems with both ipv4 and ipv6 addresses but where the
      network doesn't support ipv6, Curl_is_connected returns an error
      (intermittently) even if the ipv4 socket connects successfully.
      
      This happens because there's a for-loop that iterates on the sockets but
      the error variable is not resetted when the ipv4 is checked and is ok.
      
      This patch fixes this problem by setting error to 0 when checking the
      second socket and not having a result yet.
      
      Fixes #794
      ae8f6620
  2. May 03, 2016
  3. May 02, 2016
  4. May 01, 2016
  5. Apr 29, 2016
    • 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
  6. Apr 28, 2016
  7. Apr 26, 2016
  8. Apr 25, 2016
  9. Apr 24, 2016
  10. Apr 21, 2016
  11. Apr 20, 2016
  12. Apr 19, 2016
  13. Apr 18, 2016
  14. Apr 17, 2016
  15. Apr 12, 2016
  16. Apr 11, 2016
    • Daniel Stenberg's avatar
      http2: drain the socket better... · b2a03763
      Daniel Stenberg authored
      ... but ignore EAGAIN if the stream has ended so that we don't end up in
      a loop. This is a follow-up to c8ab6131 in order to avoid the problem
      d261652d was made to fix.
      
      Reported-by: Jay Satiro
      Clues-provided-by: Tatsuhiro Tsujikawa
      
      Discussed in #750
      b2a03763