commit | 3d80d911aa468d5d1be66692002e2b1b18f8fbe8 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu Mar 10 11:42:13 2011 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Thu Mar 10 23:32:16 2011 +0100 |
tree | 9d223637cd62c0076b0acdac96f750465281c863 | |
parent | 664beb8610e4cc1dfc389789e0310b0c4fc88f72 [diff] |
[MEDIUM] session: remove s->prev_srv which is not needed anymore s->prev_srv is used by assign_server() only, but all code paths leading to it now take s->prev_srv from the existing s->srv. So assign_server() can do that copy into its own stack. If at one point a different srv is needed, we still have a copy of the last server on which we failed a connection attempt in s->target.