just start curl, don't wait
This commit is contained in:
parent
22b87f6f16
commit
9fe3cf17d5
1 changed files with 2 additions and 2 deletions
|
@ -82,8 +82,8 @@ try:
|
||||||
if line.find('starting server') >= 0:
|
if line.find('starting server') >= 0:
|
||||||
server_ready = True
|
server_ready = True
|
||||||
|
|
||||||
if local_ready and server_ready and p3 is None:
|
if stage == 1:
|
||||||
time.sleep(1)
|
time.sleep(2)
|
||||||
|
|
||||||
p3 = Popen(['curl', 'http://www.example.com/', '-v', '-L',
|
p3 = Popen(['curl', 'http://www.example.com/', '-v', '-L',
|
||||||
'--socks5-hostname', '127.0.0.1:1081',
|
'--socks5-hostname', '127.0.0.1:1081',
|
||||||
|
|
Loading…
Add table
Reference in a new issue