From a2ae2135ea31912b080e8b399c6f128d85e893f6 Mon Sep 17 00:00:00 2001 From: Jean Raby Date: Tue, 18 Jul 2017 17:03:24 -0400 Subject: [PATCH] Add ws_streaming_protocol and use v4 by default To be sent in the Sec-WebSocket-Protocol http header by the ws_client. --- configuration.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configuration.py b/configuration.py index e2cf0622..4377eb8f 100644 --- a/configuration.py +++ b/configuration.py @@ -90,6 +90,9 @@ def __init__(self): # When set to `None`, will default to whatever urllib3 uses self.connection_pool_maxsize = None + # WebSocket subprotocol to use for exec and portforward. + self.ws_streaming_protocol = "v4.channel.k8s.io" + @property def logger_file(self): """