]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: include str_list.h for ceph::for_each_substr in CORS header
authorramin.najarbashi <ramin.najarbashi@gmail.com>
Mon, 8 Jun 2026 19:17:52 +0000 (22:47 +0330)
committerramin.najarbashi <ramin.najarbashi@gmail.com>
Mon, 22 Jun 2026 17:02:08 +0000 (20:32 +0330)
commit30f7e4d67116a5bb0dc6de67bfd4ba11ea8483b2
tree124962fdfcfcc4950c94b035704d3d1f508ece3b
parenteb7ac94ab92ea1cf6807b8eddd0f0b3cc225f3fe
rgw: include str_list.h for ceph::for_each_substr in CORS header

get_multi_cors_method_flags() calls ceph::for_each_substr(), but
rgw_cors.h did not include str_list.h. The CORS unit test includes
only this header, so the build failed with an undeclared identifier.
Qualify the call and add the missing include.

Signed-off-by: ramin.najarbashi <ramin.najarbashi@gmail.com>
(cherry picked from commit 830f0e562851a36abc2b450fcf0dd3e554abf24f)
src/rgw/rgw_cors.h