Add warning about recvLineInto being bound to change
This commit is contained in:
parent
84315c6a9c
commit
1b7cf0e3f3
1 changed files with 3 additions and 0 deletions
|
|
@ -325,6 +325,9 @@ proc recvLineInto*(socket: AsyncSocket, resString: ptr string,
|
|||
##
|
||||
## **Warning**: ``recvLineInto`` on unbuffered sockets assumes that the
|
||||
## protocol uses ``\r\L`` to delimit a new line.
|
||||
##
|
||||
## **Warning**: ``recvLineInto`` currently uses a raw pointer to a string for
|
||||
## performance reasons. This will likely change soon to use FutureVars.
|
||||
assert SocketFlag.Peek notin flags ## TODO:
|
||||
result = newFuture[void]("asyncnet.recvLineInto")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue