]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: beast: set a default port for endpoints 27661/head
authorAbhishek Lekshmanan <abhishek@suse.com>
Thu, 28 Mar 2019 12:41:23 +0000 (13:41 +0100)
committerPrashant D <pdhange@redhat.com>
Wed, 17 Apr 2019 22:45:50 +0000 (18:45 -0400)
commit5d9379a3db989c6ffbf38f9aa90a2eeeb9291bb1
tree8bcca0c0f4eb79effa71ad54ad17416d2b33959a
parent8bbb76efa480bcada12d524995527e4b3bbee288
rgw: beast: set a default port for endpoints

if no port is specified we don't set one(or set to 0), and don't exactly error
out, so rgw keeps running without being bound to a port. Set the port to default
in these cases

Fixes: http://tracker.ceph.com/issues/39000
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
(cherry picked from commit 9e5d4bd1a5d74490268e4dc16e885a64a1c2644c)
src/rgw/rgw_asio_frontend.cc