diff --git a/tests/stress.py b/tests/stress.py index a28b1d0..25e397a 100755 --- a/tests/stress.py +++ b/tests/stress.py @@ -3,6 +3,7 @@ import httplib import time import os +import ssl tsq_path = os.path.join(os.path.dirname(__file__),'example.tsq') @@ -14,6 +15,7 @@ counter=0 old_time = time.time() while True: 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()