aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorThomas Kriechbaumer <thomas@kriechbaumer.name>2017-08-17 10:38:02 +0200
committerThomas Kriechbaumer <thomas@kriechbaumer.name>2017-12-12 22:09:46 +0100
commit70e1409261adfd165b8473f1d21aa760023795d7 (patch)
tree7d54ddfef0a4300d8c886c91ba5d7792c503add9 /docs
parent3cb459d56daeae8fd2b923c27f39ca5595a50e7b (diff)
downloadmitmproxy-70e1409261adfd165b8473f1d21aa760023795d7.tar.gz
mitmproxy-70e1409261adfd165b8473f1d21aa760023795d7.tar.bz2
mitmproxy-70e1409261adfd165b8473f1d21aa760023795d7.zip
docs++: add websocket PING/PONG
Diffstat (limited to 'docs')
-rw-r--r--docs/protocols/websocket.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/protocols/websocket.rst b/docs/protocols/websocket.rst
index 85cff3ac..8a7e807f 100644
--- a/docs/protocols/websocket.rst
+++ b/docs/protocols/websocket.rst
@@ -15,3 +15,8 @@ provides an easy-to-use event-based API.
mitmproxy fully supports the compression extension for WebSocket messages,
provided by wsproto.
+
+If an endpoint sends a PING to mitmproxy, a PONG will be sent back immediately
+(with the same payload if present). To keep the other connection alive, a new
+PING (without a payload) is sent to the other endpoint. Unsolicited PONG's are
+not forwarded. All PING's and PONG's are logged (with payload if present).