Skip to content
Snippets Groups Projects
Commit b2cdb7fb authored by Maria Khaydich's avatar Maria Khaydich Committed by Georgy Kirichenko
Browse files

lua: lsocket_tcp_receive behavior fixed

Receive function behaved inconsistently for the cases where
first we use an integer as a pattern as to tell the function
a specific number of elements we want to read, and then
perform another receive call using '*a' as a pattern.
The latter should have denoted that we want to get all there
is to get, but instead it was possible to get only a part of
data and also in non-sequential order.

Closes #4118
parent 377ef1f9
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment