Skip to content
  1. Nov 06, 2011
    • Daniel Stenberg's avatar
      ftp PORT: don't hang if bind() fails · e3166df1
      Daniel Stenberg authored
      When the user requests PORT with a specific port or port range, the code
      could lock up in an endless loop. There's now an extra conditional that
      makes sure to special treat the error and try the local address only
      once so a second failure will abort the loop correctly.
      
      Bug: http://curl.haxx.se/bug/view.cgi?id=3433968
      Reported by: Gokhan Sengun
      e3166df1
    • Daniel Stenberg's avatar
      pingpong: change two comments wrongly referring "FTP" · 06a83e80
      Daniel Stenberg authored
      Just a sign of where the code originally was ripped out from. Now it is
      generic "pingpong".
      06a83e80
    • Daniel Stenberg's avatar
      test 590: verify the bug fix in 4851dafc · 2c09d21f
      Daniel Stenberg authored
      This test is created to verify Rene Bernhardt's patch which makes sure
      libcurl properly _not_ deals with Negotiate if not asked to even if the
      proxy says it can serve it.
      2c09d21f
    • Rene Bernhardt's avatar
      HTTP auth: fix proxy Negotiate bug · 4851dafc
      Rene Bernhardt authored
      If a proxy offers several Authentication schemes where NTLM and
      Negotiate are offered by the proxy and you tell libcurl not to use the
      Negotiate scheme then the request never returns when the proxy answers
      with its HTTP 407 reply.
      
      It is reproducible by the following steps:
      
      - Use a proxy that offers NTLM and Negotiate ( CURLOPT_PROXY and
      CURLOPT_PROXYPORT )
      
      - Tell libcurl NOT to use Negotiate CURL_EASY_SETOPT(CURLOPT_PROXYAUTH,
      CURLAUTH_BASIC | CURLAUTH_DIGEST | CURLAUTH_NTLM )
      
      - Start the request
      
      The call to CURL_EASY_PERFORM never returns. If you switch on debug
      logging you can see that libcurl issues a new request As soon as it
      received the 407 reply. Instead it should return and set the response
      code to 407.
      
      Bug: http://curl.haxx.se/mail/lib-2011-10/0323.html
      4851dafc
  2. Nov 04, 2011
    • Yang Tse's avatar
      ssluse.c: fix calling of OpenSSL's ERR_remove_state(0) · 73029dca
      Yang Tse authored
      Move calling of ERR_remove_state(0) a.k.a ERR_remove_thread_state(NULL)
      from Curl_ossl_close_all() to Curl_ossl_cleanup().
      
      In this way ERR_remove_state(0) is now only called in libcurl by
      curl_global_cleanup(). Previously it would get called by functions
      curl_easy_cleanup(), curl_multi_cleanup and potentially each time a
      connection was removed from a connection cache leading to premature
      destruction of OpenSSL's thread local state hash.
      
      Multi-threaded apps using OpenSSL enabled libcurl should still call
      function ERR_remove_state(0) or ERR_remove_thread_state(NULL) at the
      very end end of threads that do not call curl_global_cleanup().
      73029dca
  3. Nov 03, 2011
  4. Nov 02, 2011
  5. Nov 01, 2011
  6. Oct 31, 2011
  7. Oct 30, 2011
    • Dave Reisner's avatar
      doc/curl.1: fix sentence with ending for -# option · b24c28e6
      Dave Reisner authored
      Try to be a little more descriptive about the effect of this flag,
      rather than parroting what was said in the paragraph just above.
      b24c28e6
    • Yang Tse's avatar
      FTP test server: fix server unresponsiveness · 0b315c1c
      Yang Tse authored
      Some torture tests left FTP test server in an unresponsive state, resulting
      in torture tests that actually completed following unexpected code paths.
      
      Changes in this commit solely address this issue and some adjustments for
      ftpserver.pl logging relative to data channel establishment and tear down.
      Pending NODATACONN relative adjustments reserved for a further commit.
      0b315c1c
    • Yang Tse's avatar
      runtests.pl: running server checks - commit 4464583a follow-up · e2928e15
      Yang Tse authored
      Ensure verification takes place with no server commands file.
      Ignore verbose setting for running server precheck.
      Tweak unresponsive server message, to allow detection by haxx.se scripts.
      e2928e15
  8. Oct 29, 2011
  9. Oct 28, 2011
  10. Oct 27, 2011
  11. Oct 26, 2011
  12. Oct 25, 2011
  13. Oct 24, 2011