handle and setup onion service streams better

master
Kevin Froman 2019-08-11 15:44:56 -05:00
parent 0e9da24d79
commit da2c6b5b9c
1 changed files with 3 additions and 0 deletions

View File

@ -84,6 +84,9 @@ HashedControlPassword ''' + str(password) + '''
if config.get('general.security_level', 1) == 0:
torrcData += '''\nHiddenServiceDir ''' + self.dataDir + '''hs/
\n''' + hsVer + '''\n
HiddenServiceNumIntroductionPoints 6
HiddenServiceMaxStreams 100
HiddenServiceMaxStreamsCloseCircuit 1
HiddenServicePort 80 ''' + self.apiServerIP + ''':''' + str(self.hsPort)
torrc = open(self.torConfigLocation, 'w')