Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not mark successful FTP PUT entries with ENTRY_BAD_LENGTH (#1904)
Since 2021 commit ba3fe8d, we explicitly mark complete responses and treat all other responses as truncated. That commit missed a case where the FTP server responds with 226 or 250 code after receiving the upload. The bug affects HTTP PUT requests using ftp URI scheme. Incorrect truncation marking adds an unwanted WITH_CLIENT %err_detail to ERR_FTP_PUT_CREATED transaction records in access.log: 201 PUT ftp://... ERR_FTP_PUT_CREATED/FTP_REPLY_CODE=226+WITH_CLIENT Fixed code logs: 201 PUT ftp://... ERR_FTP_PUT_CREATED/FTP_REPLY_CODE=226
- Loading branch information