Project

General

Profile

Actions

Documentation #20942

closed

Cannot specify multiple ports for civetweb port/listening_ports due to config parsing

Added by Robin Johnson over 6 years ago. Updated about 6 years ago.


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


Related issues 1 (0 open1 closed)

Copied to rgw - Backport #23317: luminous: Cannot specify multiple ports for civetweb port/listening_ports due to config parsingResolvedPrashant DActions
Actions

Also available in: Atom PDF