Skip to content
  1. Dec 07, 2011
  2. Dec 06, 2011
  3. Dec 05, 2011
  4. Dec 02, 2011
  5. Nov 30, 2011
    • Steve Holme's avatar
      POP3: fixed escaped dot not being striped out · bdb64781
      Steve Holme authored
      Changed the eob detection to work across the whole of the buffer so that
      lines that begin with a dot (which the server will have escaped) are
      passed to the client application correctly.
      bdb64781
  6. Nov 29, 2011
  7. Nov 28, 2011
    • Daniel Stenberg's avatar
      POP3: fix end of body detection · dda815b7
      Daniel Stenberg authored
      Curl_pop3_write() now has a state machine that scans for the end of a
      POP3 body so that the CR LF '.' CR LF sequence can come in everything
      from one up to five subsequent packets.
      
      Test case 810 is modified to use SLOWDOWN which makes the server pause
      between each single byte and thus makes the POP3 body get sent to curl
      basically one byte at a time.
      dda815b7
  8. Nov 25, 2011
  9. Nov 24, 2011
  10. Nov 23, 2011
  11. Nov 21, 2011
  12. Nov 19, 2011
  13. Nov 18, 2011
  14. Nov 17, 2011
  15. Nov 08, 2011
  16. 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
    • 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
  17. 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
  18. Nov 03, 2011