Re: [libmicrohttpd] Websockets

2017-03-17 Thread silvioprog
Hehe :-D :-D On Fri, Mar 17, 2017 at 11:29 PM, John Duncan wrote: > Nevermind, was thinking of Silvio Cesare. He used to go by > silvioprogramming back in the 90s is why I asked. Sorry for the mixup! > > On Fri, Mar 17, 2017 at 3:05 PM, silvioprog wrote: > >> Hello John, >> >> I'm sure this e

Re: [libmicrohttpd] Websockets

2017-03-17 Thread John Duncan
Nevermind, was thinking of Silvio Cesare. He used to go by silvioprogramming back in the 90s is why I asked. Sorry for the mixup! On Fri, Mar 17, 2017 at 3:05 PM, silvioprog wrote: > Hello John, > > I'm sure this example will be very useful for us! :-) > > Thank you! > > On Fri, Mar 17, 2017 a

Re: [libmicrohttpd] Websockets

2017-03-17 Thread John Duncan
Are you the same Silvio from the Defcon wolves among us talk? If so, you're a god. On Fri, Mar 17, 2017 at 3:05 PM, silvioprog wrote: > Hello John, > > I'm sure this example will be very useful for us! :-) > > Thank you! > > On Fri, Mar 17, 2017 at 9:59 PM, John Duncan > wrote: > >> No problem

Re: [libmicrohttpd] Websockets

2017-03-17 Thread silvioprog
Hello John, I'm sure this example will be very useful for us! :-) Thank you! On Fri, Mar 17, 2017 at 9:59 PM, John Duncan wrote: > No problem. Thank you so much for your work on the library. It's great! > When I write some macros to do what's required I'll follow them up with a > mailing lis

Re: [libmicrohttpd] Websockets

2017-03-17 Thread John Duncan
No problem. Thank you so much for your work on the library. It's great! When I write some macros to do what's required I'll follow them up with a mailing list post so others can use them if they want. Shouldn't take too long to do. ~J On Fri, Mar 17, 2017 at 2:55 PM, Christian Grothoff wrote

Re: [libmicrohttpd] Websockets

2017-03-17 Thread Christian Grothoff
On 03/18/2017 01:44 AM, John Duncan wrote: > Websockets and RFC6455. I noticed the test_upgrade.c unit test code > doesn't provide the accept handshake key combination hashing specified on > page 8 of the RFC, in the section "opening handshake." > > Apparently we're supposed to combine the websoc

Re: [libmicrohttpd] Websockets

2017-03-17 Thread John Duncan
Websockets and RFC6455. I noticed the test_upgrade.c unit test code doesn't provide the accept handshake key combination hashing specified on page 8 of the RFC, in the section "opening handshake." Apparently we're supposed to combine the websocket key with a predesignated static GUID, hash it, an

Re: [libmicrohttpd] Websockets

2017-03-13 Thread Christian Grothoff
On 03/13/2017 09:39 PM, John Duncan wrote: > Quick question. I noticed when I built the library, it didn't move > mhd_sockets.h into the includes. That file contains all the > MHD_send_/MHD_recv_ macros used in the websockets unit test. Am I supposed > to re-implement the functions/macros found

Re: [libmicrohttpd] Websockets

2017-03-13 Thread John Duncan
Quick question. I noticed when I built the library, it didn't move mhd_sockets.h into the includes. That file contains all the MHD_send_/MHD_recv_ macros used in the websockets unit test. Am I supposed to re-implement the functions/macros found in there, or am I supposed to include that code wit

Re: [libmicrohttpd] Websockets

2017-03-12 Thread John Duncan
Thank you very much. I was able to get it to build and am studying it now. Should be all I need. On Tue, Mar 7, 2017 at 1:01 PM, Christian Grothoff wrote: > We've not yet updated the tutorial, but maybe the test case helps? > > https://gnunet.org/git/libmicrohttpd.git/tree/src/ > microhttpd/te

Re: [libmicrohttpd] Websockets

2017-03-07 Thread Christian Grothoff
We've not yet updated the tutorial, but maybe the test case helps? https://gnunet.org/git/libmicrohttpd.git/tree/src/microhttpd/test_upgrade.c On 03/03/2017 08:37 PM, John Duncan wrote: > I was reading somewhere that websockets have been added to the library? If > so, is there any example code

[libmicrohttpd] Websockets

2017-03-03 Thread John Duncan
I was reading somewhere that websockets have been added to the library? If so, is there any example code on how to use them with the library? I have a webserver working so I don't need a full example, just how to upgrade a connection on a callback. Thanks

Re: [libmicrohttpd] Websockets

2014-06-18 Thread Christian Grothoff
I have not yet made any progress on this; as I personally do not need it, it is hard to make it a priority. Nevertheless, when I do, I will update the respective feature request at https://gnunet.org/bugs/view.php?id=2102 Happy hacking! Christian On 06/18/2014 04:22 PM, adam shippu wrote: > I'

[libmicrohttpd] Websockets

2014-06-18 Thread adam shippu
I'd like to know if there is an implementation for websockets in libmicrohttpd Thanks

Re: [libmicrohttpd] Websockets?

2012-01-24 Thread Simon Newton
On Tue, Jan 24, 2012 at 1:51 AM, Christian Grothoff wrote: > On 01/24/2012 10:44 AM, Sven Geggus wrote: >> >> Christian Grothoff  wrote: >> >>> The one big major roadblock for implementing this in MHD is that this >>> would be tricky to automatically (!) test any such implementation. >> >> >> Hm h

Re: [libmicrohttpd] Websockets?

2012-01-24 Thread Christian Grothoff
On 01/24/2012 10:44 AM, Sven Geggus wrote: Christian Grothoff wrote: The one big major roadblock for implementing this in MHD is that this would be tricky to automatically (!) test any such implementation. Hm how about this one: http://www.tavendo.de/autobahn/testsuite.html Great, that one

Re: [libmicrohttpd] Websockets?

2012-01-24 Thread Sven Geggus
Christian Grothoff wrote: > The one big major roadblock for implementing this in MHD is that this > would be tricky to automatically (!) test any such implementation. Hm how about this one: http://www.tavendo.de/autobahn/testsuite.html Sven -- The source code is not comprehensible

Re: [libmicrohttpd] Websockets?

2012-01-23 Thread Christian Grothoff
On 01/23/2012 07:12 PM, Simon Newton wrote: I need to add server triggered notifications to my app so I'd love to see this as well. Ok, I guess I should propose an API then. Given that MHD is really supposed to "just" do HTTP and that (a) WebSocket standardization doesn't seem to be complete

Re: [libmicrohttpd] Websockets?

2012-01-23 Thread Simon Newton
On Mon, Jan 23, 2012 at 9:35 AM, Christian Grothoff wrote: > This has actually been on my "potential features" list for a little while. >  The implementation is quite trivial; all that is really needed is some > minor modification to the MHD_response internals / API to give the > application a way

Re: [libmicrohttpd] Websockets?

2012-01-23 Thread Christian Grothoff
This has actually been on my "potential features" list for a little while. The implementation is quite trivial; all that is really needed is some minor modification to the MHD_response internals / API to give the application a way to create a "websocket" response; that response would then send

Re: [libmicrohttpd] Websockets?

2012-01-23 Thread Jon Nalley
After the 'Upgrade' request Websocket no longer uses HTTP. You might be able to leverage libwebsocketsin conjunction with libmicrohttpd. On Mon, Jan 23, 2012 at 10:45 AM, Sven Geggus wrote: > Hello, > > looking for a way to get rid of my pseudo

[libmicrohttpd] Websockets?

2012-01-23 Thread Sven Geggus
Hello, looking for a way to get rid of my pseudo server push using delayed ajax requests I came about the WebSocket-Protokoll. Would it be possible to implement this using libmicrohttpd without hacking the core? Sven -- Das allgemeine Persönlichkeitsrecht (Art. 2 Abs.1 i.V.m. Art.1 Abs. 1GG) u