Fix dial ignoring buffered parameter (#19650) [backport]
This commit is contained in:
parent
86e93eb293
commit
8cdd8867c0
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue