mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-01-30 10:06:43 +00:00
BUG/MINOR: ssl/ocsp: httpclient blocked when doing a GET
When the OCSP updater uses the GET method with the payload in the URI, the body must be set to IST_NULL, or the request won't be sent.
This commit is contained in:
parent
c960a3b60f
commit
70601c56da
@ -1069,7 +1069,7 @@ static struct task *ssl_ocsp_update_responses(struct task *task, void *context,
|
||||
|
||||
if (httpclient_req_gen(hc, hc->req.url, hc->req.meth,
|
||||
b_data(req_body) ? ocsp_request_hdrs : NULL,
|
||||
ist2(b_orig(req_body), b_data(req_body))) != ERR_NONE) {
|
||||
b_data(req_body) ? ist2(b_orig(req_body), b_data(req_body)) : IST_NULL) != ERR_NONE) {
|
||||
goto leave;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user