Fixes: https://tracker.ceph.com/issues/48064
Signed-off-by: Ilsoo Byun <ilsoobyun@linecorp.com>
(cherry picked from commit
f3df3d3763c1d50cd734f4d73055454d1b64f978)
Conflicts:
src/rgw/rgw_rest_s3.cc
- RGWHandler_REST_S3Website::serve_errordoc() takes different arguments in
nautilus
On failure, we need the double-error handler
*/
new_err_no = RGWHandler_REST_S3Website::serve_errordoc(http_error_code, s->bucket_info.website_conf.error_doc);
- if (new_err_no && new_err_no != -1) {
+ if (new_err_no != -1) {
err_no = new_err_no;
}
} else {