MINOR: channel/stconn: Replace sc_shutr() by sc_abort()
All reference to a shutr is replaced by an abort. So sc_shutr() is renamed
sc_abort(). SC app ops functions are renamed accordingly.
diff --git a/src/backend.c b/src/backend.c
index 8b4e4fb..885cec4 100644
--- a/src/backend.c
+++ b/src/backend.c
@@ -2022,7 +2022,7 @@
process_srv_queue(srv);
/* Failed and not retryable. */
- sc_shutr(sc);
+ sc_abort(sc);
sc_shutw(sc);
sc_ep_set(sc, SE_FL_ERROR|SE_FL_EOS);
@@ -2082,7 +2082,7 @@
if (srv)
_HA_ATOMIC_INC(&srv->counters.failed_conns);
_HA_ATOMIC_INC(&s->be->be_counters.failed_conns);
- sc_shutr(sc);
+ sc_abort(sc);
sc_shutw(sc);
req->flags |= CF_WRITE_TIMEOUT;
if (!s->conn_err_type)
@@ -2142,7 +2142,7 @@
/* give up */
s->conn_exp = TICK_ETERNITY;
s->flags &= ~SF_CONN_EXP;
- sc_shutr(sc);
+ sc_abort(sc);
sc_shutw(sc);
sc->state = SC_ST_CLO;
if (s->srv_error)
@@ -2182,7 +2182,7 @@
*/
s->flags &= ~(SF_ERR_MASK | SF_FINST_MASK);
- sc_shutr(sc);
+ sc_abort(sc);
sc_shutw(sc);
sc_ep_set(sc, SE_FL_ERROR|SE_FL_EOS);
s->conn_err_type = STRM_ET_CONN_RES;
@@ -2208,7 +2208,7 @@
}
/* we did not get any server, let's check the cause */
- sc_shutr(sc);
+ sc_abort(sc);
sc_shutw(sc);
sc_ep_set(sc, SE_FL_ERROR|SE_FL_EOS);
if (!s->conn_err_type)