| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| consumed = 1 | ||
| if consumed > 0: | ||
| try: | ||
| await self._wait_for_reader(self._reader.readexactly(consumed)) |
There was a problem hiding this comment.
Should we handle TimeoutError?
Sorry, something went wrong.
| except asyncio.IncompleteReadError as exc: | ||
| return exc.partial | ||
| except asyncio.LimitOverrunError as exc: | ||
| await self._discard_oversized_line(exc.consumed) |
There was a problem hiding this comment.
Instead of dropping the line and emit a warning, how about we read maximum limit bytes and concatenate the result manually?
Sorry, something went wrong.
There was a problem hiding this comment.
🔨🔨🔨
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Summary
Related issues
Close #62
Testing
Docs & screenshots
Checklist