remove wrong assumption based on misreading the man page
This commit is contained in:
parent
d1d4019af0
commit
ccd0a9983e
|
@ -138,8 +138,6 @@ proc asyncRecvMsg*(fd: AsyncFD,
|
||||||
retFuture.fail(newException(ValueError, "unexpected ancillary data"))
|
retFuture.fail(newException(ValueError, "unexpected ancillary data"))
|
||||||
return
|
return
|
||||||
|
|
||||||
# FIXME: This will not work on FreeBSD as recvmsg(2) says:
|
|
||||||
# recvmmsg() returns the number of messages received
|
|
||||||
dataBuffer.setLen(res)
|
dataBuffer.setLen(res)
|
||||||
retFuture.complete((dataBuffer, ancillaryData))
|
retFuture.complete((dataBuffer, ancillaryData))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue