Cannot specify multiple ports for civetweb port/listening_ports due to config parsing
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.
get_str_list(g_conf->rgw_frontends, ",", frontends);
multimap<string, RGWFrontendConfig *> fe_map;
rgw frontends = civetweb port=7480,[::]:7481
#2 Updated by Jens Harbott almost 2 years ago
This is badly documented, but you need to use a '+' instead of a ',' and it will get translated here: https://github.com/ceph/ceph/blob/master/src/rgw/rgw_civetweb_frontend.cc#L58
That is a special case only for the `port` argument though.