]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/rgw/rgw_website.h
import ceph 14.2.5
[ceph.git] / ceph / src / rgw / rgw_website.h
index fb6a2d4d9468a0c5176927323f4bfe9abb2adc5e..8366f39c02c69793fc94ae91eacb114224384214 100644 (file)
@@ -182,10 +182,14 @@ struct RGWBucketWebsiteConf
   std::string subdir_marker;
   std::string listing_css_doc;
   bool listing_enabled;
+  bool is_redirect_all;
+  bool is_set_index_doc;
   RGWBWRoutingRules routing_rules;
 
   RGWBucketWebsiteConf()
     : listing_enabled(false) {
+    is_redirect_all = false;
+    is_set_index_doc = false;
   }
 
   void encode(bufferlist& bl) const {
@@ -222,7 +226,7 @@ struct RGWBucketWebsiteConf
                        const int http_error_code,
                        RGWBWRoutingRule *redirect);
 
-  void get_effective_key(const std::string& key,
+  bool get_effective_key(const std::string& key,
                          std::string *effective_key, bool is_file) const;
 
   const std::string& get_index_doc() const {