On Wed, 22 May 2013, Mike Giancola wrote:
What I've found is that in specific situations, if SSL_write returns 0, curl does not recognize the socket as closed (or errored out) and does 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.
Thanks a lot for this! I've pushed it, and it is now visible here: https://github.com/bagder/curl/commit/e58d9c87f7833
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
