Commit 8bdfb793 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Zero out the "len_so_far" when we abandon a fetch object

parent 92c4a398
......@@ -833,8 +833,10 @@ vbf_stp_error(struct worker *wrk, struct busyobj *bo)
now = W_TIM_real(wrk);
VSLb_ts_busyobj(bo, "Error", now);
if (oc->stobj->stevedore != NULL)
if (oc->stobj->stevedore != NULL) {
oc->boc->len_so_far = 0;
ObjFreeObj(bo->wrk, oc);
}
if (bo->storage == NULL)
bo->storage = STV_next();
......
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