]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw_lc: replace strftime w/fmt and chrono:calendar 55644/head
authorMatt Benjamin <mbenjamin@redhat.com>
Mon, 19 Feb 2024 14:01:48 +0000 (09:01 -0500)
committerMatt Benjamin <mbenjamin@redhat.com>
Tue, 12 Mar 2024 12:15:11 +0000 (08:15 -0400)
commit96a5cbb9aa47ed1a2b51e720475ebc08012cb4cc
treecf4d0137a411eb30854ea7d39bf396f283df59c5
parent98242a71bf52346f5e9be023aa2d20501fd99a21
rgw_lc:  replace strftime w/fmt and chrono:calendar

It's reliably claimed that std::strftime is not
mt-safe, and this would be a likely root cause of
intermittent scrambled expiration header output cases
that have been reported.

Fixes: https://tracker.ceph.com/issues/63973
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
src/rgw/rgw_lc.cc
src/test/rgw/test_rgw_lc.cc