[Libwebsockets] Integer truncation in automatic setting of max_http_header_pool
brice at ydotm.com
Wed Jun 20 16:06:00 CEST 2018
Got it. Thank you for the clarification. I'll look into it on my side.
The external epoll management is working flawlessly.
Thanks again Andy,
On Wed, Jun 20, 2018 at 1:03 AM, Andy Green <andy at warmcat.com> wrote:
> On 06/20/2018 02:03 AM, Brice Hamon wrote:
>> Hi Andy,
>> I just have 2 quick questions.
>> I finally used the client side of libwebsocket, with external epoll
>> support. So far I had the server side working with great success.
>> I can connect successfully and all the FD events are managed correctly.
>> Now my questions:
>> 1) I am getting notified in the callback with LWS_CALLBACK_GET_THREAD_ID
>> every 30 seconds. I return the my thread id but it keeps asking for it. Is
>> this a normal condition?
> Presumably you are doing something that changes a pollfd every 30s, lws
> has to figure out if you are doing it from another thread. So it does the
> callback from the current thread, and compares it to the thread id it
> sampled from the first service.
> If they are not the same, lws cancels the service wait so your change to
> what is being waited on will take effect.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libwebsockets