MEDIUM: fd/si: move peeraddr from struct fdinfo to struct connection
authorWilly Tarreau <w@1wt.eu>
Fri, 8 Jun 2012 20:57:36 +0000 (22:57 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 8 Jun 2012 20:59:52 +0000 (22:59 +0200)
commit96596aeeadcb94c87ffe7ee2ecdfef5da122fe9e
tree3870b14010e8bdd5846189d9d75b62bd8fc2d7c8
parent7dec965ffe846711d2ab6e1ccfb0463b5e91450d
MEDIUM: fd/si: move peeraddr from struct fdinfo to struct connection

The destination address is purely a connection thing and not an fd thing.
It's also likely that later the address will be stored into the connection
and linked to by the SI.

struct fdinfo only keeps the pointer to the port range and the local port
for now. All of this also needs to move to the connection but before this
the release of the port range must move from fd_delete() to a new function
dedicated to the connection.
include/types/fd.h
include/types/stream_interface.h
src/checks.c
src/peers.c
src/proto_tcp.c
src/proto_uxst.c
src/session.c