sl->info.res.status = h1s->status;
}
- if (h1m->state == H1_MSG_DONE)
+ if (h1m->state == H1_MSG_DONE) {
if (!htx_add_endof(htx, HTX_BLK_EOM))
goto error;
+ h1s->cs->flags |= CS_FL_EOI;
+ }
h1_process_conn_mode(h1s, h1m, htx, NULL);
if (!htx_add_endof(htx, HTX_BLK_EOM))
goto end;
h1m->state = H1_MSG_DONE;
+ h1s->cs->flags |= CS_FL_EOI;
}
}
else if (h1m->flags & H1_MF_CHNK) {
if (!htx_add_endof(htx, HTX_BLK_EOM))
goto end;
h1m->state = H1_MSG_DONE;
+ h1s->cs->flags |= CS_FL_EOI;
}
}
else {
if (!htx_add_endof(htx, HTX_BLK_EOM))
goto end;
h1m->state = H1_MSG_DONE;
+ h1s->cs->flags |= CS_FL_EOI;
}
}
else {