Re: [libmicrohttpd] Failed to send data in request for `/post/'.
The same error occurs if using MHD_USE_ERROR_LOG instead of MHD_USE_DEBUG. On Tue, Jan 29, 2019 at 4:07 AM silvioprog wrote: > Hello, > > I've noticed this message in some ajax requests. To reproduce the error, > just compile and run the attached example and hit some clicks in the link > "Go to url (internal or external)...". > > I've temporally removed the flag MHD_USE_DEBUG to solve the problem, but I > would like to understand why MHD sometimes reports this error, because I > always let the MHD_USE_DEBUG enabled to report other problems. > > P.S.: I never use callings like "sleep(1);" in my requests, it was just to > reproduce the problem, because I couldn't found an better way to reproduce > it. :-/ > > Thank you! > -- Silvio Clécio
[libmicrohttpd] websocket example
Hi, can someone point me to an example of using websockets with libmicrohttpd? thanks, mwarning
Re: [libmicrohttpd] websocket example
Hi Moritz, I have interesting on it too (issued at: https://gnunet.org/bugs/view.php?id=5501). Some days ago I found an example which can be used as a start point to develop a small example: https://github.com/giovanni-liboni/libmicrohttpd-ws I don't tested it yet, but the implementation seems very simple and depends only on MHD. :-) best, On Tue, Jan 29, 2019 at 1:21 PM Moritz Warning wrote: > Hi, > > can someone point me to an example of using websockets with libmicrohttpd? > > thanks, > mwarning > -- Silvio Clécio
Re: [libmicrohttpd] websocket example
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 of libmicrohttpd. Then there is also lib/libwebsockets/, which seems to be an additional lib. On 1/29/19 6:38 PM, silvioprog wrote: > Hi Moritz, > > I have interesting on it too (issued at: > https://gnunet.org/bugs/view.php?id=5501). Some days ago I found an example > which can be used as a start point to develop a small example: > > https://github.com/giovanni-liboni/libmicrohttpd-ws > > I don't tested it yet, but the implementation seems very simple and depends > only on MHD. :-) > > best, > > On Tue, Jan 29, 2019 at 1:21 PM Moritz Warning wrote: > >> Hi, >> >> can someone point me to an example of using websockets with libmicrohttpd? >> >> thanks, >> mwarning >> >