From: Yehuda Sadeh Date: Fri, 24 Oct 2014 00:39:42 +0000 (-0700) Subject: rgw: send http status reason explicitly in fastcgi X-Git-Tag: v0.88~30^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=a9dd4af401328e8f9071dee52470a0685ceb296b;p=ceph.git rgw: send http status reason explicitly in fastcgi There are issues in certain versions of apache 2.4, where the reason is not sent back. Instead, just provide the reason explicitly. Backport: firefly, giant Signed-off-by: Yehuda Sadeh --- diff --git a/src/rgw/rgw_fcgi.cc b/src/rgw/rgw_fcgi.cc index 1fb640f0e56..1a320e1dc65 100644 --- a/src/rgw/rgw_fcgi.cc +++ b/src/rgw/rgw_fcgi.cc @@ -33,7 +33,7 @@ void RGWFCGX::init_env(CephContext *cct) int RGWFCGX::send_status(const char *status, const char *status_name) { - return print("Status: %s\n", status); + return print("Status: %s %s\n", status, status_name); } int RGWFCGX::send_100_continue()