meinheld icon indicating copy to clipboard operation
meinheld copied to clipboard

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

Open willnx opened this issue 5 years ago • 0 comments

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

willnx avatar Sep 04 '20 18:09 willnx