Commit 42b9b11b authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Make sure we get a proper diagnostic on stream delivery errors.

parent d969d627
...@@ -872,6 +872,8 @@ cnt_streambody(struct sess *sp) ...@@ -872,6 +872,8 @@ cnt_streambody(struct sess *sp)
AN(sp->obj->objcore); AN(sp->obj->objcore);
AN(sp->obj->objcore->ban); AN(sp->obj->objcore->ban);
HSH_Unbusy(sp); HSH_Unbusy(sp);
} else {
sp->doclose = "Stream error";
} }
sp->acct_tmp.fetch++; sp->acct_tmp.fetch++;
sp->director = NULL; sp->director = NULL;
......
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