[Libwebsockets] http client callback owner

Joel Winarske joel.winarske at gmail.com
Sun Apr 23 23:33:16 CEST 2017


>
> Why?  Just this --->?
>


I think there should be two unique protocol members for http client info:
1.  server protocol.  The "Server" side WS protocol name.  Used as the
value for the "sec-protocol" header.
2.  callback protocol.  The name of the protocol plug-in which handles the
http client callbacks.

I'm running into cases where they are not the same value.

Renaming the plugin protocol to match the server isn't a great option.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://libwebsockets.org/pipermail/libwebsockets/attachments/20170423/20b7bd5e/attachment-0002.html>


More information about the Libwebsockets mailing list