Closed lmoureaux closed 1 month ago
This adds two hard limits to database accesses:
We let JSON fail to parse incomplete objects when they are too large because httplib doesn't gives us a handle on the total (available) size.
httplib
Hopefully 1000 objects and 10MB this is large enough to allow normal usage while protecting ourselves.
Thanks for the review! I updated the server-side code. I'm not sure if the webapp is prepared to handle errors and won't touch it (don't know much Angular, less so in 2010 style).
This adds two hard limits to database accesses:
We let JSON fail to parse incomplete objects when they are too large because
httplib
doesn't gives us a handle on the total (available) size.Hopefully 1000 objects and 10MB this is large enough to allow normal usage while protecting ourselves.