diff options
author | canyonknight <canyonknight@gmail.com> | 2012-10-21 21:53:16 +0200 |
---|---|---|
committer | Lukas Fleischer <archlinux@cryptocrack.de> | 2012-10-22 12:33:13 +0200 |
commit | 43a69e7127c65f2651a61300d3e32bf6f89a2595 (patch) | |
tree | cb0869c747d12fa8418a536878d7b6aaf5eeb3f9 /support/schema/aur-schema.sql | |
parent | 5222bf09320ebc1cd5da799970fcc0d2dd32bb3f (diff) | |
download | aur-43a69e7127c65f2651a61300d3e32bf6f89a2595.tar.gz aur-43a69e7127c65f2651a61300d3e32bf6f89a2595.tar.xz |
aurjson.class.php: Limit number of RPC results
With no limit to the number of results, memory_limit set to 32M
can easily be exceeded for searches that have a large number of
results. This results in an HTTP error 500 for those queries.
Limit results to an amount set within config.inc.php to avoid
exceeding memory_limit. Introduce new JSON error code for when
the result limit is hit.
Fixes FS#31849
Signed-off-by: canyonknight <canyonknight@gmail.com>
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'support/schema/aur-schema.sql')
0 files changed, 0 insertions, 0 deletions