Re: [libmicrohttpd] TCP connection callbacks - problem

2018-10-30 Thread Daniel Bujnik
Hi Christian, Many thanks for prompt action. I can confirm now, that your fix with recent change is working and TCP callbacks are being delivered as expected. Kind regards, Daniel On Mon, 29 Oct 2018 at 19:38, Christian Grothoff wrote: > Hi Daniel, > > I did some more testing, and my previo

[libmicrohttpd] MHD_add_connection and EPOLL

2018-10-30 Thread José Bollo
Hi, I try to add the selection of the interfaces to serve on MHD. I was using MHD_USE_EPOLL and was managing to include the epoll in the external main loop with MHD_get_daemon_info(daemon, MHD_DAEMON_INFO_EPOLL_FD_LINUX_ONLY) -> listen_fd But it appears that setting MHD_USE_EPOLL and MHD_USE_NO_L

Re: [libmicrohttpd] MHD_add_connection and EPOLL

2018-10-30 Thread José Bollo
On Tue, 30 Oct 2018 15:51:19 +0100 José Bollo wrote: > Hi, > > I try to add the selection of the interfaces to serve on MHD. I was > using MHD_USE_EPOLL and was managing to include the epoll in the > external main loop with MHD_get_daemon_info(daemon, > MHD_DAEMON_INFO_EPOLL_FD_LINUX_ONLY) -> li

Re: [libmicrohttpd] Web Socket disconnect behaviour

2018-10-30 Thread silvioprog
José, thanks a lot for sharing. This example is awesome! I'm not expert in WS but it seems this example can run without any external dependencies. I'll test it this weekend. Since this code is small and clear, what do you think about to make it as a official MHD WS example in the examples folder?

Re: [libmicrohttpd] Web Socket disconnect behaviour

2018-10-30 Thread José Bollo
On Tue, 30 Oct 2018 12:30:46 -0300 silvioprog wrote: > José, thanks a lot for sharing. Hi Silvio, > This example is awesome! I'm not expert in WS but it seems this > example can run without any external dependencies. I'll test it this > weekend. > > Since this code is small and clear, what do

Re: [libmicrohttpd] Web Socket disconnect behaviour

2018-10-30 Thread silvioprog
I hope Christian/Evgeny and others agree with us too. :-) Websockets is a very interesting subject! I took a look at http://websocket.org and it seems the "Echo Test " is the easiest example. I can write the client part (at least in the example comments) in a small