[Libwebsockets] SSL_ERROR_WANT_READ error
andy at warmcat.com
Mon Oct 31 18:26:12 CET 2016
On October 31, 2016 11:02:07 PM GMT+08:00, Srikar Vadlamani <SrikarVadlamani at trafficware.com> wrote:
>Lws test app also gives similar results, is it the open ssl itself, or
>the way we are using it?
Lws test apps in ssl mode act like this on your desktop PC? Or just this system?
>From: Andy Green [mailto:andy at warmcat.com]
>Sent: Friday, October 21, 2016 7:07 PM
>To: Srikar Vadlamani <SrikarVadlamani at trafficware.com>;
>libwebsockets at ml.libwebsockets.org
>Subject: Re: [Libwebsockets] SSL_ERROR_WANT_READ error
>On Fri, 2016-10-21 at 14:05 +0000, Srikar Vadlamani wrote:
>> I am seeing the below logs from the lws library, when trying to
>> an SSL connection, These messages are repetitive and the system runs
>> out of ram and crashes.
>> What can be the underlying reasons the SSL library is failing, any
>> comments or help would be really appreciated.
>> insert_wsi_socket_into_fds: 0x13d5d860: tsi=0, sock=924, pos-in-
>> lws_set_timeout: 0x13d5d860: 20 secs
>> inserted SSL accept into fds, trying SSL_accept SSL_accept failed 2 /
>> error:00000002:lib(0):func(0):system lib SSL_ERROR_WANT_READ
>> lws_header_table_attach: wsi 0x13d5d860: ah (nil) (tsi 0, count = 4)
>> lws_header_table_attach: adding 0x13d5d860 to ah waiting list
>> new conn port 64463 on fd=925
>Do the lws test apps work in ssl mode on your system?
>> Libwebsockets mailing list
>> Libwebsockets at ml.libwebsockets.org
More information about the Libwebsockets