Commit 677f4ef7 authored by Michal 'vorner' Vaner's avatar Michal 'vorner' Vaner
Browse files

Don't allow compression on socat

It is not supported on ubuntu in socat yet, which is what our server
runs.
parent a795a869
......@@ -77,7 +77,7 @@ class Socat(protocol.ProcessProtocol):
def errReceived(self, data):
logging.warn('Socat complained: %s', data)
args = ['/usr/bin/socat', 'OPENSSL-LISTEN:' + str(master_config.getint('port')) + ',fork,backlog=50,key=' + master_config.get('key') + ',cert=' + master_config.get('cert') + ',verify=0,cipher=TLSv1:!MEDIUM:!LOW:!aNULL,reuseaddr,pf=ip6,compress=auto', 'UNIX-CONNECT:./collect-master.sock']
args = ['/usr/bin/socat', 'OPENSSL-LISTEN:' + str(master_config.getint('port')) + ',fork,backlog=50,key=' + master_config.get('key') + ',cert=' + master_config.get('cert') + ',verify=0,cipher=TLSv1:!MEDIUM:!LOW:!aNULL,reuseaddr,pf=ip6', 'UNIX-CONNECT:./collect-master.sock']
logging.debug('Starting socat with: %s', args)
reactor.spawnProcess(Socat(), '/usr/bin/socat', args=args, env=os.environ)
endpoint.listen(ClientFactory(plugins))
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment