aurweb/web/lib
canyonknight 43a69e7127 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>
2012-10-22 12:33:13 +02:00
..
acctfuncs.inc.php Refactor TU voters list 2012-10-08 14:08:06 +02:00
aur.inc.php Link to the HTTPs login page in the header 2012-10-21 02:50:06 +02:00
aurjson.class.php aurjson.class.php: Limit number of RPC results 2012-10-22 12:33:13 +02:00
cachefuncs.inc.php Migrate all DB code to use PDO 2012-09-18 00:58:46 +02:00
config.inc.php.proto aurjson.class.php: Limit number of RPC results 2012-10-22 12:33:13 +02:00
feedcreator.class.php Avoid use of "<b>"/"</b>" 2012-09-24 12:23:05 +02:00
gettext.php Add php-gettext libraries to "web/lib/". 2011-04-10 15:40:49 +02:00
pkgfuncs.inc.php pkgfuncs.inc.php: Fix blacklisting functionality 2012-10-11 21:19:16 +02:00
routing.inc.php Use URL rewriting for user info page 2012-09-18 00:59:21 +02:00
stats.inc.php stats.inc.php: Document all functions using PHPDoc format 2012-09-24 02:04:03 +02:00
streams.php Add php-gettext libraries to "web/lib/". 2011-04-10 15:40:49 +02:00
translator.inc.php Avoid use of "<b>"/"</b>" 2012-09-24 12:23:05 +02:00
version.inc.php Release 2.0.0-rc1 2012-10-04 12:31:36 +02:00