]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw_log, rgw_file: account for new required envvars 20672/head
authorMatt Benjamin <mbenjamin@redhat.com>
Fri, 27 Oct 2017 00:31:34 +0000 (20:31 -0400)
committerMatt Benjamin <mbenjamin@redhat.com>
Thu, 1 Mar 2018 16:01:54 +0000 (11:01 -0500)
commite889b655b943457cbea8c6d0ca9f5b815861513c
tree30c48f64da48752b785b063ab9034b211e05edfe
parent1a1121f851954af4c370cce2b4a4917a93507aed
rgw_log, rgw_file: account for new required envvars

rgw_log_op() expects more server and request variables from the
request environment.  Fix rgw_lib to set more that it can
usefully, but also make rgw_log_op() check for the existence
of all keys it will use.

Fixes: http://tracker.ceph.com/issues/21942
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
(cherry picked from commit f9d5528a1990b5bcc33948284136c2d349aa838e)
src/rgw/librgw.cc
src/rgw/rgw_log.cc