-
Notifications
You must be signed in to change notification settings - Fork 492
Closed
Description
I am working on an application based on the 'http_get_mbedtls' example to push data to a server using TLS. It is all working quite well most of the time, but sometimes the call to mbedtls_ssl_handshake() never returns. Other tasks keep running. I can have several hundred successful calls, and then one that hangs.
Should it block like this, or is there a way to add a timeout to this call?
Attached are two log files, one of a successful call and the other when the call hangs.
It seems to happen around here:
ssl_cli.c:2944: client state: 10
...
ssl_tls.c:2429: message length: 6, out_left: 6
HANG
Metadata
Metadata
Assignees
Labels
No labels