i think TCP::collect does not need timeout because it will always be fired.
With TCP::collect, the event for processing the data (CLIENT_DATA or SERVER_DATA ) will fire without TCP::release being called
TCP::collect
https://devcentral.f5.com/wiki/iRules.TCP__collect.ashx
for SSL::collect, i think after command may be usable.
config
[root@ve11a:Active:In Sync] config tmsh list ltm rule qux
ltm rule qux {
when CLIENTSSL_HANDSHAKE {
log local0. ""
set mon [\
after 100 {
TCP::close
}\
]
SSL::collect 1500
}
when CLIENTSSL_DATA {
log local0. ""
}
}
client
[root@centos1 ~] curl -d test=1234567890 -ik https://172.28.24.10
curl: (52) Empty reply from server
after
https://devcentral.f5.com/wiki/iRules.after.ashx