mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-03-06 03:18:43 +00:00
MEDIUM: streams: Don't close the connection in back_handle_st_rdy().
In back_handle_st_rdy(), don't bother trying to close the connection, it should be taken care of somewhere else.
This commit is contained in:
parent
7c30642ede
commit
1fc5a648bf
@ -2071,8 +2071,6 @@ void back_handle_st_rdy(struct stream *s)
|
||||
struct stream_interface *si = &s->si[1];
|
||||
struct channel *req = &s->req;
|
||||
struct channel *rep = &s->res;
|
||||
struct conn_stream *srv_cs = objt_cs(si->end);
|
||||
struct connection *conn = srv_cs ? srv_cs->conn : objt_conn(si->end);
|
||||
|
||||
DBG_TRACE_ENTER(STRM_EV_STRM_PROC|STRM_EV_SI_ST, s);
|
||||
/* We know the connection at least succeeded, though it could have
|
||||
@ -2110,11 +2108,6 @@ void back_handle_st_rdy(struct stream *s)
|
||||
|
||||
/* retryable error ? */
|
||||
if (si->flags & SI_FL_ERR) {
|
||||
if (!(s->flags & SF_SRV_REUSED) && conn) {
|
||||
conn_stop_tracking(conn);
|
||||
conn_full_close(conn);
|
||||
}
|
||||
|
||||
if (!si->err_type)
|
||||
si->err_type = SI_ET_CONN_ERR;
|
||||
si->state = SI_ST_CER;
|
||||
|
Loading…
Reference in New Issue
Block a user