Commit 4b15ca8f authored by Dridi Boukelmoune's avatar Dridi Boukelmoune

vsl: New Timestamp:Process for backend tasks

Similarly to Timestamp:Fetch, it is otherwise not possible to distinguish
between time spent in VCL and time spent strictly fetching the response
body.
parent 5f5fb8b3
...@@ -518,6 +518,7 @@ vbf_stp_startfetch(struct worker *wrk, struct busyobj *bo) ...@@ -518,6 +518,7 @@ vbf_stp_startfetch(struct worker *wrk, struct busyobj *bo)
return (F_STP_ERROR); return (F_STP_ERROR);
} }
VSLb_ts_busyobj(bo, "Process", W_TIM_real(wrk));
assert(oc->boc->state <= BOS_REQ_DONE); assert(oc->boc->state <= BOS_REQ_DONE);
if (oc->boc->state != BOS_REQ_DONE) { if (oc->boc->state != BOS_REQ_DONE) {
bo->req = NULL; bo->req = NULL;
......
...@@ -98,6 +98,9 @@ Bereq ...@@ -98,6 +98,9 @@ Bereq
Beresp Beresp
Backend response headers received. Backend response headers received.
Process
Processing finished, ready to fetch the response body.
BerespBody BerespBody
Backend response body received. Backend response body received.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment