]> git.p6c8.net - jirafeau_mojo42.git/commit
[BUGFIX] detect and adapt server limitation
authorJerome Jutteau <jerome@jutteau.fr>
Sun, 15 Nov 2020 22:30:05 +0000 (23:30 +0100)
committerJerome Jutteau <jerome@jutteau.fr>
Sun, 15 Nov 2020 22:35:57 +0000 (23:35 +0100)
commit0a6bf57aaa63053eb60b49985036b51078741414
tree8db786a4584964ffc80858f6663bad8faa757ae5
parent04a1d908e1fded89eae1b5594c4a8a3a459d4d91
[BUGFIX] detect and adapt server limitation

This fix retry to transfer when js client gets a 413 (Request Entity Too Large).
Chunk size is lowered at each retry.
Jirafeau administrators seeing 413 errors should check their server settings.

fixes #234

Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
lib/functions.js.php

patrick-canterino.de