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