client: optimized client_input_received()
Use memchr() instead of manually traversing the input buffer. Update
the client's properties after all commands have been processed. Check
for buffer overflow once.
Showing
Please
register
or
sign in
to comment