mint icon indicating copy to clipboard operation
mint copied to clipboard

mint client will return incorrect buffer on 0 read

Open vkrasnov opened this issue 9 years ago • 1 comments

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])

vkrasnov avatar Mar 07 '16 22:03 vkrasnov

The files have changed since this was filed. Can you send a PR?

grittygrease avatar Apr 02 '16 17:04 grittygrease