From 70e1409261adfd165b8473f1d21aa760023795d7 Mon Sep 17 00:00:00 2001 From: Thomas Kriechbaumer Date: Thu, 17 Aug 2017 10:38:02 +0200 Subject: docs++: add websocket PING/PONG --- docs/protocols/websocket.rst | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'docs') 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). -- cgit v1.2.3