1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-16 00:00:07 +01:00
libwebsockets/lib/tls/mbedtls
Santeri Hernejärvi 5d1cd3cb4b mbedtls: Fix reads getting stuck when the socket has disconnected
We've seen this behaviour when iOS resumes from sleep:

dbg> 0x11cd03750: ssl err dbg> lws_ssl_capable_read: WANT_READ
dbg> 0x11cd03750: LWS_SSL_CAPABLE_MORE_SERVICE
dbg> SSL Capable more service
dbg> 0x11cd03750: SSL_read says -1
dbg> 0x11cd03750: ssl err 2 errno 57
dbg> lws_ssl_capable_read: WANT_READ
dbg> 0x11cd0375dbg> SSL Capable more service
dbg> 0x11cd03750: SSL_read says -1
dbg> 0x11cd03750: ssl err 2 errno 57
dbg> lws_ssl_capable_read: WANT_READ
2019-03-14 19:09:33 +08:00
..
wrapper vhost info: add memory buffer cert support 2019-03-12 11:57:43 +08:00
lws-genaes.c jwe 2018-12-27 06:45:32 +08:00
lws-gencrypto.c jwe 2018-12-27 06:45:32 +08:00
lws-genec.c lws-x509: validation functions 2018-12-31 20:35:54 +08:00
lws-genhash.c jwe 2018-12-27 06:45:32 +08:00
lws-genrsa.c jwe 2018-12-27 06:45:32 +08:00
mbedtls-client.c optee: remove build system 2019-01-15 06:59:48 +08:00
mbedtls-server.c vhost info: add memory buffer cert support 2019-03-12 11:57:43 +08:00
private.h lws-x509: validation functions 2018-12-31 20:35:54 +08:00
ssl.c mbedtls: Fix reads getting stuck when the socket has disconnected 2019-03-14 19:09:33 +08:00
tls.c LWS_WITH_NETWORK: cmake option for no network code 2019-01-13 07:54:57 +08:00
x509.c optee: remove build system 2019-01-15 06:59:48 +08:00