From 310a76104c26722793066645da823237b24c8eda Mon Sep 17 00:00:00 2001 From: kakwa Date: Sun, 29 Jan 2017 19:58:14 +0100 Subject: [PATCH] revert change in stress.py test script --- tests/stress.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/stress.py b/tests/stress.py index ca144be..25e397a 100755 --- a/tests/stress.py +++ b/tests/stress.py @@ -14,8 +14,8 @@ with open(tsq_path) as f: counter=0 old_time = time.time() while True: - #h1 = httplib.HTTPConnection('localhost:2020') - h1 = httplib.HTTPSConnection('freebsd.kakwa.fr:2020', context=ssl._create_unverified_context()) + h1 = httplib.HTTPConnection('localhost:2020') + #h1 = httplib.HTTPSConnection('localhost:2020', context=ssl._create_unverified_context()) h1.request('POST', '/', body, {"Content-Type": "application/timestamp-query"}) response = h1.getresponse() h1.close()