Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 3.1.5, 3.7.2
-
Fix Version/s: 3.9
-
Component/s: Files API
-
Labels:
-
Testing Instructions:
-
Affected Branches:MOODLE_31_STABLE, MOODLE_37_STABLE
-
Fixed Branches:MOODLE_39_STABLE
-
Pull from Repository:
-
Pull Master Branch:
MDL-58281-file-missing-500
Description
If a file is missing in the sitedata, the readfile_accel will still output the header with the 'Content-Length' even though it cannot output the file.
This may confuse the load balancer (leading to a timeout) because it is expecting more data, as the error message in most of the times is going to be smaller than the provided content-length.