diff --git a/docs/features/tcpproxy.rst b/docs/features/tcpproxy.rst index e24620e2d..77c62bbf7 100644 --- a/docs/features/tcpproxy.rst +++ b/docs/features/tcpproxy.rst @@ -3,7 +3,7 @@ TCP Proxy ========= -Non-HTTP protocols are not supported by mitmproxy yet. However, you can exempt +In case mitmproxy does not handle a specific protocol, you can exempt hostnames from processing, so that mitmproxy acts as a generic TCP forwarder. This feature is closely related to the :ref:`passthrough` functionality, but differs in two important aspects: diff --git a/docs/scripting/events.rst b/docs/scripting/events.rst index a0fc12432..8f9463ffe 100644 --- a/docs/scripting/events.rst +++ b/docs/scripting/events.rst @@ -168,7 +168,7 @@ are issued, only new WebSocket messages are called. * - .. py:function:: websocket_handshake(flow) - Called when a client wants to establish a WebSocket connection. The - WebSocket-specific headers can be manipulated to manipulate the + WebSocket-specific headers can be manipulated to alter the handshake. The ``flow`` object is guaranteed to have a non-None ``request`` attribute.