Univention Bugzilla – Bug 56510
Max request body size of UMC module process is not configurable
Last modified: 2023-09-27 18:17:22 CEST
The max request body size of HTTP requests in the UMC modules is currently not configurable so that the tornado default is used. For the UMC-Server this is already configurable. As file uploads are now transferred directly to the UMC modules instead of a JSON object this must be configurable now. We can use the same code which we use for the UMC server.
univention-management-console.yaml 7ae9587100c7 | fix(umc): fix configurability of maximum request body size univention-management-console (12.0.31-15) 7ae9587100c7 | fix(umc): fix configurability of maximum request body size The maximum request body size was configured in the UMC-Server but not in the UMC module process and therefore lead to 400 bad requests. Since the UMC rewrite file uploads aren't handeld anymore in the UMC-Server core and given as short JSON information with a dumped-filename to the module process but directly forwarded to the module process this became an error.
QA: - code review: OK - package upgrade: OK - YAML: OK - trying to upload a license file with size 120MiB where umc/http/max_request_body_size=136314880 fails before upgrade with 400 - trying to upload a license file with size 120MiB where umc/http/max_request_body_size=136314880 succeeds after upgrade with 200
<https://errata.software-univention.de/#/?erratum=5.0x821>