diff options
-rw-r--r-- | lib/pure/httpclient.nim | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/pure/httpclient.nim b/lib/pure/httpclient.nim index e88847004..59918f766 100644 --- a/lib/pure/httpclient.nim +++ b/lib/pure/httpclient.nim @@ -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. |