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

maxResponseSize in Future Clients effectively limited to 10 MB by bytes Parser #656

Closed
ksajme opened this issue Jan 8, 2018 · 1 comment
Assignees
Labels
Milestone

Comments

@ksajme
Copy link

ksajme commented Jan 8, 2018

Construction of a Future Client by ClientFactories with an arbitrary maxResponseSize given in a ClientConfig is possible but an exception will be thrown if a response greater than 10 MB is received.
https://github.com/tumblr/colossus/blob/master/colossus/src/main/scala/colossus/util/Parsing.scala#L304

This is due to the following overload which limits the bytes parser to 10 MB:
https://github.com/tumblr/colossus/blob/master/colossus/src/main/scala/colossus/util/Parsing.scala#L323

@jlbelmonte
Copy link
Contributor

Thanks for the report @ksajme. I will look into this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants