-
Notifications
You must be signed in to change notification settings - Fork 865
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[azopenai] Switch EventReader from using bufio.Scanner to bufio.Reader (
#22703) bufio.Scanner has an implicit max size for it's internal buffer but SSE has no restriction on how large chunks can be. We need to allow for arbitrarily large chunks and, luckily, bufio.Reader can already handle that.
- Loading branch information
1 parent
8f702b9
commit 18e40d0
Showing
3 changed files
with
48 additions
and
14 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
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