commit | 38d5892634a2101285653e90fc59e2fb6484a9f0 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sat Nov 16 00:15:40 2013 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Sat Nov 16 00:17:59 2013 +0100 |
tree | 2af9c909c194fb8ff5aac1db61fbeef0a12df34a | |
parent | 2f877304ef180654d165bf4ba8c88c204fc09d36 [diff] |
OPTIM/MINOR: mark the source address as already known on accept() Commit 986a9d2d12 moved the source address from the stream interface to the session, but it did not set the flag on the connection to report that the source address is known. Thus when logs are enabled, we had a call to getpeername() which is redundant with the result from accept(). This patch simply sets the flag.