cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: axtls memory leak

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 17 May 2013 15:45:47 +0200 (CEST)

On Thu, 16 May 2013, Hu, Eric wrote:

> Regarding the patch itself, it still blocks in the connect phase. Unlike
> reads, I didn't find a mechanism to retry Curl_axtls_connect repeatedly so
> the patch loops and retries internally. Is this okay? Is there some way to
> retry the connect that I've missed?

Less blocking is better than more blocking so I think it sounds like good
development anyway!

If you check the OpenSSL code and the Curl_ossl_connect_nonblocking() it shows
how that works non-blocking. Or GnuTLS and its Curl_gtls_connect_nonblocking()
etc.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2013-05-17