[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [libmicrohttpd] Websockets
From: |
Christian Grothoff |
Subject: |
Re: [libmicrohttpd] Websockets |
Date: |
Sat, 18 Mar 2017 01:55:53 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.6.0 |
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 websocket key with a predesignated
> static GUID, hash it, and send it back. Without doing this, current
> firefox refuses to accept a websocket connection to MHD.
>
>
> My question is, should I write this functionality myself or are there plans
> for MHD to implement it in the future with macros or such? It seems very
> easy to implement but I don't want to implement my own code if the library
> has plans to implement this functionality for users directly. Don't want
> to duplicate efforts etc.
Right now, the expectation is that you need to write this yourself, at
least I have no plans to do more in terms of API than what we have today
with respect to "HTTP Upgrade".
Happy hacking!
Christian
signature.asc
Description: OpenPGP digital signature
- [libmicrohttpd] Websockets, John Duncan, 2017/03/03
- Re: [libmicrohttpd] Websockets, Christian Grothoff, 2017/03/07
- Re: [libmicrohttpd] Websockets, John Duncan, 2017/03/12
- Re: [libmicrohttpd] Websockets, John Duncan, 2017/03/13
- Re: [libmicrohttpd] Websockets, Christian Grothoff, 2017/03/13
- Re: [libmicrohttpd] Websockets, John Duncan, 2017/03/17
- Re: [libmicrohttpd] Websockets,
Christian Grothoff <=
- Re: [libmicrohttpd] Websockets, John Duncan, 2017/03/17
- Re: [libmicrohttpd] Websockets, silvioprog, 2017/03/17
- Re: [libmicrohttpd] Websockets, John Duncan, 2017/03/17
- Re: [libmicrohttpd] Websockets, John Duncan, 2017/03/17
- Re: [libmicrohttpd] Websockets, silvioprog, 2017/03/17