Signed-off-by: Adarsh <dev.9401adarsh@gmail.com>
}
bufferlist read_bl;
RGWPostHTTPData request(cct, "POST", endpoint, &read_bl, verify_ssl);
+ //default to 3 seconds for wrong url hits - if wrong endpoint configured
+ request.set_req_connect_timeout(3);
const auto post_data = json_format_pubsub_event(event);
if (cloudevents) {
// following: https://github.com/cloudevents/spec/blob/v1.0.1/http-protocol-binding.md
param_vec_t headers;
long req_timeout{0L};
- long req_connect_timeout{3L};
+ long req_connect_timeout{0L};
void init();