-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix incorrect error for very long lines (#48)
Fix a bug where an io.EOF error would incorrectly be returned when a line of data contains bufio.MaxScanTokenSize characters or greater. The decoder will now return ErrTooLong when a line is too long to decode. Fixes #47
- Loading branch information
1 parent
5919528
commit 2a77f58
Showing
2 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters