summaryrefslogtreecommitdiff
path: root/src/websockets/qdefaultmaskgenerator_p.cpp
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@theqtcompany.com>2016-04-07 09:52:29 +0200
committerKai Koehne <kai.koehne@theqtcompany.com>2016-04-07 12:46:21 +0000
commitbe4bfc5feeb61e97378bee325d36bb74f007fe04 (patch)
tree8b7fa16f684a7df6e8f5b927d32e4b4dea94e91a /src/websockets/qdefaultmaskgenerator_p.cpp
parent3b128f9b45f4fafc305ff0c89cfc2cb665c856d5 (diff)
downloadqtwebsockets-be4bfc5feeb61e97378bee325d36bb74f007fe04.tar.gz
Doc: Add external-resources.qdoc
Also sanitize some linking, e.g. by referencing to the paper by title, not by link. Change-Id: I95482994ca569001a23a3beb0e3cbe6739f4ed77 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com> Reviewed-by: Topi Reiniƶ <topi.reinio@theqtcompany.com>
Diffstat (limited to 'src/websockets/qdefaultmaskgenerator_p.cpp')
-rw-r--r--src/websockets/qdefaultmaskgenerator_p.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/websockets/qdefaultmaskgenerator_p.cpp b/src/websockets/qdefaultmaskgenerator_p.cpp
index 0992e3a..9a8ef30 100644
--- a/src/websockets/qdefaultmaskgenerator_p.cpp
+++ b/src/websockets/qdefaultmaskgenerator_p.cpp
@@ -37,11 +37,11 @@
\brief The QDefaultMaskGenerator class provides the default mask generator for QtWebSockets.
- The WebSockets specification as outlined in {http://tools.ietf.org/html/rfc6455}{RFC 6455}
+ The WebSockets specification as outlined in \l {RFC 6455}
requires that all communication from client to server must be masked. This is to prevent
malicious scripts to attack bad behaving proxies.
For more information about the importance of good masking,
- see \l {http://w2spconf.com/2011/papers/websocket.pdf}.
+ see \l {"Talking to Yourself for Fun and Profit" by Lin-Shung Huang et al}.
The default mask generator uses the cryptographically insecure qrand() function.
The best measure against attacks mentioned in the document above,
is to use QWebSocket over a secure connection (\e wss://).