Code

socket frontend: Read incoming commands into a buffer.
authorSebastian Harl <sh@tokkee.org>
Wed, 6 Nov 2013 21:25:53 +0000 (22:25 +0100)
committerSebastian Harl <sh@tokkee.org>
Wed, 6 Nov 2013 21:25:53 +0000 (22:25 +0100)
commit16274941b4881a5ad9f68282f5f325bc1ebaef26
tree55766f71e48f4d6bbf7e60e67fd2331b61efa74a
parent17e0c267962be6f91ca0847e9f5feefc8b2d4907
socket frontend: Read incoming commands into a buffer.

Handle commands once all of them has been read. Give preference to reading
data over handling a command in order not to block clients or exhaust
operating system buffers.
src/frontend/sock.c