From d56288c154902c03d6b96eac405ba01ce765b6db Mon Sep 17 00:00:00 2001 From: "Denis V. Meltsaykin" Date: Tue, 2 May 2017 15:54:53 +0300 Subject: [PATCH] Fix for empty response header Fixed http://tracker.ceph.com/issues/13644 Change-Id: I15a892edec9e0a880d6383f5ca4bce4228619ecf Closes-Bug: #1545145 --- debian/changelog | 7 +++++++ debian/patches/fix_empty_json_response.patch | 10 ++++++++++ debian/patches/series | 2 ++ 3 files changed, 19 insertions(+) create mode 100644 debian/patches/fix_empty_json_response.patch diff --git a/debian/changelog b/debian/changelog index 7fe268e9..c6c71429 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +ceph (0.80.9-1~u14.04+mos2+mos7.0+2) mos7.0; urgency=hi + + * Fixed empty resonse header in RadosGW + http://tracker.ceph.com/issues/13644 + + -- Denis Meltsaykin Tue, 02 May 2017 15:54:00 +0300 + ceph (0.80.9-1~u14.04+mos2+mos7.0+1) mos7.0; urgency=hi * Fix security vulnerability CVE-2015-5245 diff --git a/debian/patches/fix_empty_json_response.patch b/debian/patches/fix_empty_json_response.patch new file mode 100644 index 00000000..8bbe6047 --- /dev/null +++ b/debian/patches/fix_empty_json_response.patch @@ -0,0 +1,10 @@ +--- ceph-0.80.9/src/rgw/rgw_rest_user.cc 2016-07-01 16:39:51.413844309 +0300 ++++ ceph-0.80.9/src/rgw/rgw_rest_user.cc 2017-05-02 15:46:47.859982464 +0300 +@@ -683,6 +683,7 @@ + if (http_ret < 0) + return; + ++ flusher.start(0); + if (show_all) { + UserQuotas quotas(info); + encode_json("quota", quotas, s->formatter); diff --git a/debian/patches/series b/debian/patches/series index a334894f..eff6e8e1 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,3 +1,5 @@ virtualenv-never-download modules.patch url_encode_exposed_bucket.patch +fix_empty_json_response.patch + -- 2.45.2