io.ReadAtLeast - expect EOF return when buffer is empty in Read
function
#391
Labels
help wanted
Extra attention is needed
needs fix
pending development
Requested PR owner to improve code and waiting for the result
question
Further information is requested
Please fill out the following system information before opening an issue:
What is your question about gnet?
Please describe your question meticulously.
hi Andy, thanks for your work. I met below issue in
io.ReadAtLeast
function, wonder if my thought is correct?Comparing to
bytes/buffer.go
, it returns EOF in a case where input bytes also emptyThe text was updated successfully, but these errors were encountered: