Hi Nicolas,
You are right to use the timeout option here. Beyond that, there is
nothing you can do. If the connection of the client is merely bad (but
not closed), TCP will keep retrying and eventually succeed, possibly
preventing the timeout from being effective. That not enough data
arrives in a
Hello,
Le 19-02-02 à 05 h 29, Christian Grothoff a écrit :
>
> You are right to use the timeout option here. Beyond that, there is
So you confirm that MHD_CONNECTION_OPTION_TIMEOUT is not available when
using MHD_create_response_from_callback?
> On the server side, make sure you use EPOLL, in th
Indeed. But the next messages from José and Nicolas encouraged us... :-)
On Tue, Jan 29, 2019 at 6:44 PM Moritz Warning wrote:
> I saw libmicrohttpd-ws, but it was not working for me.
> (there is an error when I press connect on the demo site)
>
> Also, I do not see if this is a modified version
Hello José,
I couldn't test it yet, but it is in my whishlist. Thanks again for sharing
it! :-)
On Wed, Jan 30, 2019 at 4:17 PM José Bollo wrote:
> On Tue, 29 Jan 2019 16:16:59 +0100
> Moritz Warning wrote:
>
> > Hi,
> >
> > can someone point me to an example of using websockets with
> > libmi
Hello Nicolas,
I took a look at your code and it is very interesting. Maybe it could help
us to create a minimal WS example to be distributed in the MHD examples.
Also, I'll reuse it as base to create a very tiny layer to distribute in a
library I'm maintaining. All your/José's codes will help me
Hello José,
first, thanks for this awesome work! I took a look at the sources and it
seems very clean. I'll test it on Windows. I saw you did the client too, so
it will be very helpful for who those want to study WS.
But, I have two questions: is it very difficult to do a minimal WS example
to di