fix: crash exploit of game servers by uploading huge files (several GB)

Signed-off-by: Stephen L. <lrq3000@gmail.com>