mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=1643
This commit is contained in:
parent
785d29fe00
commit
6606bc73d8
|
@ -15,6 +15,8 @@ def read_url(url, quiet=False):
|
|||
except IOError, e:
|
||||
if not quiet:
|
||||
error("couldn't access url: %s %s" % (url, e))
|
||||
else:
|
||||
verbose_echo(2, "couldn't access url: %s %s" % (url, e))
|
||||
return ''
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
@ -56,7 +58,7 @@ if __name__ == '__main__':
|
|||
else:
|
||||
proxy.stop()
|
||||
|
||||
proxy = Proxy('exit 1 if $nconnections < 2; if_done_kill(); if_done_ping();')
|
||||
proxy = Proxy('close_connection if $nconnections < 2')
|
||||
if read_url(html_proxy_url, quiet=True):
|
||||
error("Proxy should have closed connection #1")
|
||||
if read_url(html_proxy_url) != magic:
|
||||
|
|
Loading…
Reference in New Issue