curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: HTTPS hangs

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 5 May 2017 17:45:19 +0200 (CEST)

On Fri, 5 May 2017, Greg Stewart via curl-library wrote:

> When I move it to the ESP32, it hangs at "curl_easy_perform". I disabled
> https on the server and removed the CURLOPT_SSL_VERIFYPEER and
> CURLOPT_SSL_VERIFYHOST tokens from the code, and it worked great on the
> ESP32.

That tells us close to nothing. You stopped using HTTPS so of course HTTPS
caused you no further problems.

But believe it or not, HTTPS is not meant to hang and it is not something that
it usually does for people or users of libcurl. That sounds like a
problem/bug/issue/mystery to solve. And since it isn't working as intended,
you need to start by enabling verbose and then dig deeper into the
functionality to figure out where it hangs and why and then what possibly can
be done about it.

What TLS library does this use? Do you have the correct time/date on the
thing? The ESP32 is a fairly low end performing device, isn't it? Are you sure
you gave it enough time to handle the encryption stuff?

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2017-05-05