cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: HTTPS: "connection reset by peer" crash

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 12 Jul 2010 19:02:31 +0200 (CEST)

On Fri, 2 Jul 2010, Никита Дорохин wrote:

(I noticed I haven't seen any responses or follow-ups on this)

> 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?

Sorry, but without a lot of more specific details I can't answer this.

-- 
  / daniel.haxx.se

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-07-12