basic cleanups regarding SSL handling (#16940) [backport:1.0]
* basic cleanups regarding SSL handling * enabled certificate checking on Windows * updated the SSL test * quoting helps
This commit is contained in:
parent
f140c92409
commit
abac35e743
4 changed files with 59 additions and 18 deletions
|
|
@ -101,7 +101,7 @@ when not defined(windows):
|
|||
let t = spawn runServer(port)
|
||||
sleep(100)
|
||||
|
||||
var client = newHttpClient()
|
||||
var client = newHttpClient(sslContext=newContext(verifyMode=CVerifyNone))
|
||||
try:
|
||||
log "client: connect"
|
||||
discard client.getContent("https://127.0.0.1:12345")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue