Skip to content
Discussion options

You must be logged in to vote

According to the source code of read_until, it never creates UnexpectedEof errors. Perhaps the error came from the underlying IO resource that you're calling read_until on? Alternatively, are you sure that the error came from read_until? If you also have a read_exact call somewhere, then that could be the cause.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by lufte
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants