mirror of
https://github.com/nim-lang/Nim.git
synced 2026-09-08 22:47:27 +00:00
Fix dial ignoring buffered parameter (#19650) [backport]
This commit is contained in:
@@ -1963,7 +1963,7 @@ proc dial*(address: string, port: Port,
|
||||
closeUnusedFds(ord(domain))
|
||||
|
||||
if success:
|
||||
result = newSocket(lastFd, domain, sockType, protocol)
|
||||
result = newSocket(lastFd, domain, sockType, protocol, buffered)
|
||||
elif lastError != 0.OSErrorCode:
|
||||
raiseOSError(lastError)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user