Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use ByteStringInputStream #540

Merged
merged 1 commit into from
Apr 20, 2024

Conversation

pjfanning
Copy link
Contributor

@pjfanning pjfanning commented Apr 19, 2024

pekko-http already has a class that optimises getting an InputStream for a ByteString. We should use it for consistency.

I know this is test code but If anything, this improves our test coverage of ByteStringInputStream

Update Http2FrameHpackSupport.scala

Update Http2FrameHpackSupport.scala
Copy link
Member

@He-Pin He-Pin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@pjfanning pjfanning merged commit 355eb90 into apache:main Apr 20, 2024
10 checks passed
@pjfanning pjfanning deleted the use-ByteStringInputStream branch April 20, 2024 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants