Closed gopherbot closed 9 years ago
The Read function makes no promise that it will fill the entire buffer. For the promises made by a standard Read method, see http://golang.org/pkg/io/#Reader . You can fix your program by using io.ReadFull, as in http://play.golang.org/p/wwProGUozh .
Status changed to WorkingAsIntended.
by pepe.aracil.gomez:
Attachments: