]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw: beast: bind both v4 and v6 ports when using a port argument
authorAbhishek Lekshmanan <abhishek@suse.com>
Fri, 29 Mar 2019 16:37:44 +0000 (17:37 +0100)
committerAbhishek Lekshmanan <alekshmanan@suse.com>
Thu, 9 May 2019 18:56:21 +0000 (20:56 +0200)
commit3a57fcdd11ad8ad3cb903d48a5245e7f9d965f34
tree143eabbfd0132cdf8467e1c958da76fe46246a18
parent4c79d02f6950b62e65fe9ab1b6d0602246e171ed
rgw: beast: bind both v4 and v6 ports when using a port argument

This commit adds binding to both v4 and v6 port when specifying a port argument,
endpoint *only* binds to v4 or v6 depending on the address specified. Failure to
bind when the protocol is not supported is not treated as an error and we warn
and continue then.

Fixes: http://tracker.ceph.com/issues/39038
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
src/rgw/rgw_asio_frontend.cc