cURL / Mailing Lists / curl-library / Single Mail

curl-library

HTTPS: "connection reset by peer" crash

From: Никита Дорохин <kit-d_at_ukr.net>
Date: Fri, 02 Jul 2010 14:11:09 +0300
('binary' encoding is not supported, stored as-is) ('binary' encoding is not supported, stored as-is) At some point I got this messages and my application crashed.
  
* SSL read: error:00000000:lib(0):func(0):reason(0), errno 104
* Connection died, retrying a fresh connect
* Closing connection #0
  
Note: errno 104 means "connection reset by peer"
  
Not sure what the reason is but it is strange that Curl_socket_ready()  returns -1 (see Curl_readwrite()) and this return code is not handled (at least directly) in Curl_readwrite(). Maybe this is the reason?
  
Nikita.
  

('binary' encoding is not supported, stored as-is) -------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-07-02