]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw_log, rgw_file: account for new required envvars 18572/head
authorMatt Benjamin <mbenjamin@redhat.com>
Fri, 27 Oct 2017 00:31:34 +0000 (20:31 -0400)
committerMatt Benjamin <mbenjamin@redhat.com>
Fri, 27 Oct 2017 00:38:35 +0000 (20:38 -0400)
commitf9d5528a1990b5bcc33948284136c2d349aa838e
treefd1f38990c07276fe36c134aebf430e88237318d
parenta7efb9d84f78bde3875cd8a88be1eb5395053592
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>
src/rgw/librgw.cc
src/rgw/rgw_log.cc