commit | 664beb8610e4cc1dfc389789e0310b0c4fc88f72 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu Mar 10 11:38:29 2011 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Thu Mar 10 23:32:16 2011 +0100 |
tree | 49f506d07a4299c0aad12d56e3cea90b6723b548 | |
parent | d6cc532ca1c27dc92edd7cfb626da8e3d1ec0106 [diff] |
[MINOR] session: add a pointer to the new target into the session When dealing with HTTP keep-alive, we'll have to know if we can reuse an existing connection. For that, we'll have to check if the current connection was made on the exact same target (referenced in the stream interface). Thus, we need to first assign the next target to the session, then copy it to the stream interface upon connect(). Later we'll check for equivalence between those two operations.