[MEDIUM] remove cli_fd, srv_fd, cli_state and srv_state from the session
Those were previously used by the unix sockets only, and could be
removed.
diff --git a/src/backend.c b/src/backend.c
index e9125b4..986c070 100644
--- a/src/backend.c
+++ b/src/backend.c
@@ -1664,7 +1664,7 @@
/* this is a resource error */
return SN_ERR_RESOURCE;
}
-
+
if (fd >= global.maxsock) {
/* do not log anything there, it's a normal condition when this option
* is used to serialize connections to a server !
@@ -1677,7 +1677,7 @@
#ifdef CONFIG_HAP_TCPSPLICE
if ((s->fe->options & s->be->options) & PR_O_TCPSPLICE) {
/* TCP splicing supported by both FE and BE */
- tcp_splice_initfd(s->cli_fd, fd);
+ tcp_splice_initfd(s->req->prod->fd, fd);
}
#endif