From efdb51bc9d46283e55d95cd47398cf463b401d96 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Wed, 31 Oct 2018 05:11:41 +0000 Subject: WebSocket: send messages as text by default. This requires all messages to be UTF-8. If you are using a UTF-8 incompatible text encoding then you can disable this by setting to false. --- docs/conf/modules.conf.example | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'docs/conf/modules.conf.example') diff --git a/docs/conf/modules.conf.example b/docs/conf/modules.conf.example index aab89afbf..4dab9f55b 100644 --- a/docs/conf/modules.conf.example +++ b/docs/conf/modules.conf.example @@ -2163,6 +2163,12 @@ # Requires SHA-1 hash support available in the sha1 module. # # +# Whether to re-encode messages as UTF-8 before sending to WebSocket +# clients. This is recommended as the WebSocket protocol requires all +# text frames to be sent as UTF-8. If you do not have this enabled +# messages will be sent as binary frames instead. +# +# # If you use the websocket module you MUST specify one or more origins # which are allowed to connect to the server. You should set this as # strict as possible to prevent malicious webpages from connecting to -- cgit v1.2.3