Skip to content
  1. Jun 10, 2013
  2. Jun 07, 2013
  3. Jun 06, 2013
    • Daniel Stenberg's avatar
      lib1500: remove bad check · 87cf677e
      Daniel Stenberg authored
      After curl_multi_wait() returns, this test checked that we got exactly
      one file descriptor told to read from, but we cannot be sure that is
      true. curl_multi_wait() will sometimes return earlier without any file
      descriptor to handle, just just because it is a suitable time to call
      *perform().
      
      This problem showed up with commit 29bf0598.
      
      Bug: http://curl.haxx.se/mail/lib-2013-06/0029.html
      Reported-by: Fabian Keil
      87cf677e
  4. Jun 04, 2013
  5. Jun 03, 2013
  6. Jun 02, 2013
  7. May 30, 2013
  8. May 28, 2013
  9. May 27, 2013
  10. May 22, 2013
    • Mike Giancola's avatar
      ossl_recv: SSL_read() returning 0 is an error too · 520833cb
      Mike Giancola authored
      SSL_read can return 0 for "not successful", according to the open SSL
      documentation: http://www.openssl.org/docs/ssl/SSL_read.html
      520833cb
    • Mike Giancola's avatar
      ossl_send: SSL_write() returning 0 is an error too · e58d9c87
      Mike Giancola authored
      We found that in specific cases if the connection is abruptly closed,
      the underlying socket is listed in a close_wait state. We continue to
      call the curl_multi_perform, curl_mutli_fdset etc. None of these APIs
      report the socket closed / connection finished.  Since we have cases
      where the multi connection is only used once, this can pose a problem
      for us. I've read that if another connection was to come in, curl would
      see the socket as bad and attempt to close it at that time -
      unfortunately, this does not work for us.
      
      I found that in specific situations, if SSL_write returns 0, curl did
      not recognize the socket as closed (or errored out) and did not report
      it to the application. I believe we need to change the code slightly, to
      check if ssl_write returns 0. If so, treat it as an error - the same as
      a negative return code.
      
      For OpenSSL - the ssl_write documentation is here:
      http://www.openssl.org/docs/ssl/SSL_write.html
      e58d9c87
  11. May 21, 2013
  12. May 20, 2013
  13. May 19, 2013
  14. May 18, 2013
  15. May 16, 2013
  16. May 12, 2013
  17. May 11, 2013
  18. May 09, 2013
  19. May 08, 2013
  20. May 07, 2013
  21. May 06, 2013