(got == line_size) is possible and means that most probably the line was truncated.