]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw/beast: (non-functional) refactor Connection and ConnectionList to header
authorOguzhan Ozmen <oozmen@bloomberg.net>
Wed, 24 Jun 2026 01:48:05 +0000 (01:48 +0000)
committerOguzhan Ozmen <oozmen@bloomberg.net>
Wed, 24 Jun 2026 19:01:47 +0000 (19:01 +0000)
commit222a39366d27aaadf2c96a33b8a29275f233afab
tree684fe4feb1e1ac01ec1035e3f36a4b5385e904c3
parent41c9db3444ac5fc80f3b37a0ce27949403b89af6
rgw/beast: (non-functional) refactor Connection and ConnectionList to header

Just like rgw_asio_frontend_timer.h, factor out the Connection struct and
ConnectionList class from the anonymous namespace in rgw_asio_frontend.cc
to a new header rgw_asio_frontend_connection.h (under namespace rgw::asio).

This is especially needed to get better coverage thru unittesting.

This is non-functional: no logic changes, the types, methods, and behavior
are identical as before. The frontend .cc uses type aliases to maintain the
same unqualified names.

Signed-off-by: Oguzhan Ozmen <oozmen@bloomberg.net>
src/rgw/rgw_asio_frontend.cc
src/rgw/rgw_asio_frontend_connection.h [new file with mode: 0644]