Avoid active connection prevent timeout of idle conns after it 45/6645/1
authorAndrew Yourtchenko <[email protected]>
Tue, 2 May 2017 18:08:51 +0000 (20:08 +0200)
committerAndrew Yourtchenko <[email protected]>
Thu, 11 May 2017 10:06:32 +0000 (10:06 +0000)
commit2f8fa30f34515f399910d8b77109c2d73b2fec68
tree90271fab254c2e81e6b81df2f29ddac7cfaa49ae
parent4deb95592ea5bc2c05861ddb906bbabc4555abe6
Avoid active connection prevent timeout of idle conns after it

Fix a logic error related to timing out of the connections
following the active one. To avoid this class of issue in
the future, create corresponding testcases, as well as some
trivial sanity testcases for both IPv4 and IPv6.

Since these tests are timing-dependent and take up time,
mark them as extended tests.

Change-Id: I2c72bad5efda7db8aa9cb05801fe47928dc47927
Signed-off-by: Andrew Yourtchenko <[email protected]>
(cherry picked from commit 57d7dbc8bf8a49ee2421fe97bd3ed7099d2384bf)
src/plugins/acl/fa_node.c
src/plugins/acl/fa_node.h
test/test_acl_plugin_conns.py [new file with mode: 0644]