Fixes #4797.
This commit is contained in:
parent
8386476592
commit
1fb5dd2477
2 changed files with 7 additions and 0 deletions
|
|
@ -106,6 +106,9 @@ when defineSsl:
|
|||
{.deprecated: [ESSL: SSLError, TSSLCVerifyMode: SSLCVerifyMode,
|
||||
TSSLProtVersion: SSLProtVersion, PSSLContext: SSLContext,
|
||||
TSSLAcceptResult: SSLAcceptResult].}
|
||||
else:
|
||||
type
|
||||
SslContext* = void # TODO: Workaround #4797.
|
||||
|
||||
const
|
||||
BufferSize*: int = 4000 ## size of a buffered socket's buffer
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
discard """
|
||||
cmd: "nim c -d:ssl $file"
|
||||
"""
|
||||
|
||||
import strutils
|
||||
from net import TimeoutError
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue