MINOR: peers: no need for setting timeouts / conn_retries in peer_session_create()
For the client side this is done already by stream_new(). For the
server side it will be done when establishing the connection.
diff --git a/src/peers.c b/src/peers.c
index d1a06d8..084a97b 100644
--- a/src/peers.c
+++ b/src/peers.c
@@ -1152,7 +1152,6 @@
/* initiate an outgoing connection */
si_set_state(&s->si[1], SI_ST_ASS);
- s->si[1].conn_retries = p->conn_retries;
/* automatically prepare the stream interface to connect to the
* pre-initialized connection in si->conn.
@@ -1168,11 +1167,6 @@
s->do_log = NULL;
s->uniq_id = 0;
- s->req.rto = s->sess->fe->timeout.client;
- s->req.wto = s->be->timeout.server;
- s->res.rto = s->be->timeout.server;
- s->res.wto = s->sess->fe->timeout.client;
-
s->res.flags |= CF_READ_DONTWAIT;
l->nbconn++; /* warning! right now, it's up to the handler to decrease this */