mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
mbedtls: tls flow for mqtt
This commit is contained in:
parent
d98c9310e1
commit
54e909a126
1 changed files with 2 additions and 2 deletions
|
@ -178,7 +178,7 @@ send_hs:
|
|||
/* for a method = "RAW" connection, this makes us
|
||||
* established */
|
||||
|
||||
#if defined(LWS_WITH_TLS) && !defined(LWS_WITH_MBEDTLS)
|
||||
#if defined(LWS_WITH_TLS)// && !defined(LWS_WITH_MBEDTLS)
|
||||
|
||||
/* we have connected if we got here */
|
||||
|
||||
|
@ -297,7 +297,7 @@ send_hs:
|
|||
* and won't until many retries from main loop. To stop that
|
||||
* becoming endless, cover with a timeout.
|
||||
*/
|
||||
#if defined(LWS_WITH_TLS) && !defined(LWS_WITH_MBEDTLS)
|
||||
#if defined(LWS_WITH_TLS) //&& !defined(LWS_WITH_MBEDTLS)
|
||||
provoke_service:
|
||||
#endif
|
||||
lws_set_timeout(wsi, PENDING_TIMEOUT_SENT_CLIENT_HANDSHAKE,
|
||||
|
|
Loading…
Add table
Reference in a new issue