diff --git a/src/stream.c b/src/stream.c index 25618aebb..e19056e21 100644 --- a/src/stream.c +++ b/src/stream.c @@ -822,6 +822,7 @@ static int sess_update_st_cer(struct stream *s) si->state = SI_ST_TAR; si->exp = tick_add(now_ms, MS_TO_TICKS(delay)); } + si->flags &= ~SI_FL_ERR; return 0; } return 0; diff --git a/src/stream_interface.c b/src/stream_interface.c index 1e944f1f5..da31482ee 100644 --- a/src/stream_interface.c +++ b/src/stream_interface.c @@ -830,8 +830,8 @@ void si_update_both(struct stream_interface *si_f, struct stream_interface *si_b req->flags &= ~(CF_READ_NULL|CF_READ_PARTIAL|CF_READ_ATTACHED|CF_WRITE_NULL|CF_WRITE_PARTIAL); res->flags &= ~(CF_READ_NULL|CF_READ_PARTIAL|CF_READ_ATTACHED|CF_WRITE_NULL|CF_WRITE_PARTIAL); - si_f->flags &= ~(SI_FL_ERR|SI_FL_EXP); - si_b->flags &= ~(SI_FL_ERR|SI_FL_EXP); + si_f->flags &= ~SI_FL_EXP; + si_b->flags &= ~SI_FL_EXP; si_f->prev_state = si_f->state; si_b->prev_state = si_b->state;