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

Enhancment Reqeust: Use something larger than a signed int for max content length #117

Open
willnx opened this issue Sep 4, 2020 · 0 comments

Comments

@willnx
Copy link

willnx commented Sep 4, 2020

Great product! I would love if the max content length could be more than ~2GB.
The following example demonstrates the issue:

In [1]: import meinheld                                                                                                                                                                                                                               

In [2]: meinheld.set_max_content_length(2147483647)                                                                                                                                                                                                   

In [3]: meinheld.set_max_content_length(2147483648)                                                                                                                                                                                                   
---------------------------------------------------------------------------
OverflowError                             Traceback (most recent call last)
<ipython-input-3-587f355d523f> in <module>
----> 1 meinheld.set_max_content_length(2147483648)

OverflowError: signed integer is greater than maximum
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

No branches or pull requests

1 participant