mint
mint copied to clipboard
mint client will return incorrect buffer on 0 read
If a Read fails on EOF with 0 byte in line 25, it will append the previous buffer again.
Solution would be to use
response += string(buffer[:read])
The files have changed since this was filed. Can you send a PR?