diff options
author | Holger Weiss <holger@zedat.fu-berlin.de> | 2016-05-08 15:36:51 +0200 |
---|---|---|
committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2016-05-08 15:36:51 +0200 |
commit | f7f40cf9a6b2599a8246a2282a0e49df4c7ebeca (patch) | |
tree | 454e88a62f74c702fa8463d2d750f0006d279c8b /src/mod_last_sql.erl | |
parent | Avoid error bounces when testing stream management (diff) |
Let client retry HTTP upload on file size mismatch
Let the main mod_http_upload process look at the size of an HTTP upload
rather than performing this check in the ejabberd_http handler. This
way, the upload slot won't be invalidated if the size of the uploaded
file doesn't match the size requested for the slot. The PUT request is
still rejected, but the client now has a chance to retry the upload.
Diffstat (limited to 'src/mod_last_sql.erl')
0 files changed, 0 insertions, 0 deletions