Use bytearray for the CONNECT message bytes buffer

This commit is contained in:
Paul Tremberth 2017-02-20 16:25:12 +01:00
parent a586243758
commit adb180fbaf
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ class TunnelingTCP4ClientEndpoint(TCP4ClientEndpoint):
self._tunneledHost = host
self._tunneledPort = port
self._contextFactory = contextFactory
self._connectBuffer = b''
self._connectBuffer = bytearray()
def requestTunnel(self, protocol):
"""Asks the proxy to open a tunnel."""