make tests green again

This commit is contained in:
Araq
2017-02-26 23:23:39 +01:00
parent 7d1a96151c
commit b724f46f6f

View File

@@ -339,9 +339,6 @@ when not defined(ssl):
var defaultSSLContext {.threadvar.}: SSLContext
when defined(ssl):
defaultSSLContext = newContext(verifyMode = CVerifyNone)
when compileOption("threads"):
onThreadCreation do ():
defaultSSLContext = newContext(verifyMode = CVerifyNone)
proc newProxy*(url: string, auth = ""): Proxy =
## Constructs a new ``TProxy`` object.