summaryrefslogtreecommitdiff
path: root/src/websockets/qwebsocket.cpp
diff options
context:
space:
mode:
authorKurt Pattyn <pattyn.kurt@gmail.com>2014-03-09 13:11:58 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-03-11 15:47:48 +0100
commit8cda01eb77b9f52ad8f5d58e65d7cd76d8e20154 (patch)
tree23062b6c9cc34f06b634d25013f7fe9e01cb5ae8 /src/websockets/qwebsocket.cpp
parentd122d15b66bdcecb42f4c3cabaeaab6791f1edaa (diff)
downloadqtwebsockets-8cda01eb77b9f52ad8f5d58e65d7cd76d8e20154.tar.gz
Update documentation.
Change-Id: I8fca0df0ea66adba0898d95f8249ea1b7f33892a Reviewed-by: Kurt Pattyn <pattyn.kurt@gmail.com>
Diffstat (limited to 'src/websockets/qwebsocket.cpp')
-rw-r--r--src/websockets/qwebsocket.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/websockets/qwebsocket.cpp b/src/websockets/qwebsocket.cpp
index 707d459..85b45c0 100644
--- a/src/websockets/qwebsocket.cpp
+++ b/src/websockets/qwebsocket.cpp
@@ -60,6 +60,10 @@
QWebSocket only supports version 13 of the WebSocket protocol, as outlined in
\l {http://tools.ietf.org/html/rfc6455}{RFC 6455}.
+ \note Some proxies do not understand certain HTTP headers used during a web socket handshake.
+ In that case, non-secure web socket connections fail. The best way to mitigate against
+ this problem is to use web sockets over a secure connection.
+
\warning To generate masks, this implementation of WebSockets uses the cryptographically
insecure qrand() function.
For more information about the importance of good masking,