|
Boost : |
Subject: Re: [boost] [Beast] Security issue note
From: Vinnie Falco (vinnie.falco_at_[hidden])
Date: 2017-06-28 05:39:46
On Tue, Jun 27, 2017 at 10:25 PM, Artyom Beilis via Boost
<boost_at_[hidden]> wrote:
> std::size_t isn't good for max_content_length, it should be unsigned long long
> or uint64_t because if you use it for file upload on 32 bit system you want to
> support files above 4GB.
Yes, and that's how I wrote it (the feature is currently in code review).
> Note: the default and reasonable max_context_length must be defined by default.
What's typical? How about 8MB for responses and 1MB for requests?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk