]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw/http: add timeout to http client 40667/head
authorYuval Lifshitz <yuvalif@yahoo.com>
Mon, 6 Apr 2020 09:50:37 +0000 (12:50 +0300)
committerNathan Cutler <ncutler@suse.com>
Mon, 12 Apr 2021 07:32:44 +0000 (09:32 +0200)
commit68d412181fecdfeaff281810c19c3c761cc42573
tree20cac5598a62c095bc23ae1e1571c59c24b125cb
parenta3bb71c89d324b13294707f66d71b7b74886e1b6
rgw/http: add timeout to http client

also, prevent "Expect: 100-continue" from being sent
when not needed

Signed-off-by: Yuval Lifshitz <yuvalif@yahoo.com>
(cherry picked from commit dd49cc83078c7e268ce3de7ab0bfbf3035ed5d50)

Conflicts:
src/rgw/rgw_http_client.cc
- nautilus uses Mutex::Locker
- instead of two-argument cond.Wait, nautilus needs a while loop
src/rgw/rgw_http_client.h
src/rgw/rgw_http_client.cc
src/rgw/rgw_http_client.h