Actions
Documentation #20942
closedCannot specify multiple ports for civetweb port/listening_ports due to config parsing
% Done:
0%
Tags:
Backport:
luminous
Reviewed:
Affected Versions:
v9.0.2, v9.0.3, v9.0.4, v9.1.0, 10.0.2, 10.0.1, 10.0.3, Ceph - v10.0.4, v0.94.10, Ceph - v0.94.10, Ceph - v0.94.11, Ceph - v0.94.2, Ceph - v0.94.3, Ceph - v0.94.4, Ceph - v0.94.5, Ceph - v0.94.6, Ceph - v0.94.7, Ceph - v0.94.8, Ceph - v0.94.9, Ceph - v10.0.0, Ceph - v10.1.1, Ceph - v10.2.0, Ceph - v10.2.1, Ceph - v10.2.10, Ceph - v10.2.2, Ceph - v10.2.3, Ceph - v10.2.4, Ceph - v10.2.5, Ceph - v10.2.6, Ceph - v10.2.7, Ceph - v10.2.8, Ceph - v10.2.9, Ceph - v11.1.0, Ceph - v11.2.0, Ceph - v11.2.1, Ceph - v12.0.0, Ceph - v12.1.0, Ceph - v12.2.0, Ceph - v13.0.0, Ceph - v9.1.1, Ceph - v9.2.1, Ceph - v9.2.2
Pull request ID:
Description
civetweb uses commas to split some configuration options, most notably listening_ports/port, but also commas could be used in access_log_file/error_log_file paths.
This conflicts with RGW trying to split the frontends config option by commas before consuming it.
src/rgw/rgw_main.cc:
list<string> frontends;
get_str_list(g_conf->rgw_frontends, ",", frontends);
multimap<string, RGWFrontendConfig *> fe_map;
Easy testcase:
rgw frontends = civetweb port=7480,[::]:7481
Actions