handle and setup onion service streams better
This commit is contained in:
parent
0e9da24d79
commit
da2c6b5b9c
@ -84,6 +84,9 @@ HashedControlPassword ''' + str(password) + '''
|
|||||||
if config.get('general.security_level', 1) == 0:
|
if config.get('general.security_level', 1) == 0:
|
||||||
torrcData += '''\nHiddenServiceDir ''' + self.dataDir + '''hs/
|
torrcData += '''\nHiddenServiceDir ''' + self.dataDir + '''hs/
|
||||||
\n''' + hsVer + '''\n
|
\n''' + hsVer + '''\n
|
||||||
|
HiddenServiceNumIntroductionPoints 6
|
||||||
|
HiddenServiceMaxStreams 100
|
||||||
|
HiddenServiceMaxStreamsCloseCircuit 1
|
||||||
HiddenServicePort 80 ''' + self.apiServerIP + ''':''' + str(self.hsPort)
|
HiddenServicePort 80 ''' + self.apiServerIP + ''':''' + str(self.hsPort)
|
||||||
|
|
||||||
torrc = open(self.torConfigLocation, 'w')
|
torrc = open(self.torConfigLocation, 'w')
|
||||||
|
Loading…
Reference in New Issue
Block a user