]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/rgw/rgw_civetweb.cc
update sources to v12.2.3
[ceph.git] / ceph / src / rgw / rgw_civetweb.cc
index 93a8a030ac007d660ad664118437688d7c8c0995..f4d17d721c18d5308504f21540d16727dbe93891 100644 (file)
@@ -110,7 +110,9 @@ void RGWCivetWeb::init_env(CephContext *cct)
     env.set(buf, value);
   }
 
+  env.set("REMOTE_ADDR", info->remote_addr);
   env.set("REQUEST_METHOD", info->request_method);
+  env.set("HTTP_VERSION", info->http_version);
   env.set("REQUEST_URI", info->request_uri); // get the full uri, we anyway handle abs uris later
   env.set("SCRIPT_URI", info->uri); /* FIXME */
   if (info->query_string) {