VXBkYXRlIHRvIGlnbm9yZSByZWdleHM=

This commit is contained in:
xu.jimmy.wrk 2010-08-26 14:34:07 +00:00
parent 84ee63eb2e
commit 4706e78526

View File

@ -50,6 +50,7 @@ def main():
if rule.startswith('[AutoProxy'): continue
if rule.startswith('!'): continue
if rule.startswith('@@'): continue
if rule.startswith('/') and rule.endswith('/'): continue
(test, t) = getUrl(rule)
print '=>', test,
curl = subprocess.call(['/usr/bin/curl', '-4', '-I', '-m', '5', test], stdout=subprocess.PIPE, stderr=subprocess.PIPE)