1. 18 Mar, 2015 1 commit
  2. 17 Mar, 2015 10 commits
  3. 16 Mar, 2015 9 commits
  4. 15 Mar, 2015 2 commits
  5. 14 Mar, 2015 2 commits
    • Tobias Stoeckmann's avatar
      hostip: Fix signal race in Curl_resolv_timeout. · 851c2926
      Tobias Stoeckmann authored
      A signal handler for SIGALRM is installed in Curl_resolv_timeout. It is
      configured to interrupt system calls and uses siglongjmp to return into
      the function if alarm() goes off.
      
      The signal handler is installed before curl_jmpenv is initialized.
      This means that an already installed alarm timer could trigger the
      newly installed signal handler, leading to undefined behavior when it
      accesses the uninitialized curl_jmpenv.
      
      Even if there is no previously installed alarm available, the code in
      Curl_resolv_timeout itself installs an alarm before the environment is
      fully set up. If the process is sent into suspend right after that, the
      signal handler could be called too early as in previous scenario.
      
      To fix this, the signal handler should only be installed and the alarm
      timer only be set after sigsetjmp has been called.
      851c2926
    • Daniel Stenberg's avatar
      http2: detect prematures close without data transfered · 0cf649d9
      Daniel Stenberg authored
      ... by using the regular Curl_http_done() method which checks for
      that. This makes test 1801 fail consistently with error 56 (which seems
      fine) to that test is also updated here.
      
      Reported-by: Ben Darnell
      Bug: https://github.com/bagder/curl/issues/166
      0cf649d9
  6. 13 Mar, 2015 1 commit
  7. 12 Mar, 2015 6 commits
  8. 11 Mar, 2015 2 commits
  9. 10 Mar, 2015 7 commits