make tests green again
This commit is contained in:
parent
7d1a96151c
commit
b724f46f6f
1 changed files with 0 additions and 3 deletions
|
|
@ -339,9 +339,6 @@ when not defined(ssl):
|
||||||
var defaultSSLContext {.threadvar.}: SSLContext
|
var defaultSSLContext {.threadvar.}: SSLContext
|
||||||
when defined(ssl):
|
when defined(ssl):
|
||||||
defaultSSLContext = newContext(verifyMode = CVerifyNone)
|
defaultSSLContext = newContext(verifyMode = CVerifyNone)
|
||||||
when compileOption("threads"):
|
|
||||||
onThreadCreation do ():
|
|
||||||
defaultSSLContext = newContext(verifyMode = CVerifyNone)
|
|
||||||
|
|
||||||
proc newProxy*(url: string, auth = ""): Proxy =
|
proc newProxy*(url: string, auth = ""): Proxy =
|
||||||
## Constructs a new ``TProxy`` object.
|
## Constructs a new ``TProxy`` object.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue