]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: Do not assum rest connection to be established
authorChristophe Courtaut <christophe.courtaut@gmail.com>
Fri, 31 May 2013 07:55:27 +0000 (09:55 +0200)
committerYehuda Sadeh <yehuda@inktank.com>
Fri, 31 May 2013 16:39:56 +0000 (09:39 -0700)
commit8f3f0537f2164f563e154c988f59b25d3be70014
tree529d32fb5b16b8017f37bde581b26ce12df60353
parent45873b57f05482582c74c9a82851a67801d8e32e
rgw: Do not assum rest connection to be established

Added a check to verify that rest connection is correctly initialized,
preventing a segmentation fault.

Signed-off-by: Christophe Courtaut <christophe.courtaut@gmail.com>
Reviewed-by: Yehuda Sadeh <yehuda@inktank.com>
src/rgw/rgw_op.cc