Merge pull request #41262 from cbodley/wip-rgw-civetweb-deprecate

rgw: deprecate the civetweb frontend

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
This commit is contained in:
Casey Bodley 2021-05-17 14:46:50 -04:00 committed by GitHub
commit a7215d8683
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View File

@ -100,6 +100,7 @@ Civetweb
========
.. versionadded:: Firefly
.. deprecated:: Pacific
The ``civetweb`` frontend uses the Civetweb HTTP library, which is a
fork of Mongoose.

View File

@ -560,6 +560,8 @@ int radosgw_Main(int argc, const char **argv)
RGWFrontend *fe = NULL;
if (framework == "civetweb" || framework == "mongoose") {
lderr(cct.get()) << "IMPORTANT: the civetweb frontend is now deprecated "
"and will be removed in a future release" << dendl;
framework = "civetweb";
std::string uri_prefix;
config->get_val("prefix", "", &uri_prefix);