Forum Discussion
Serge_M__252_ll
Nimbostratus
Jan 18, 2016Http::retry after timeout (again)
Hi,
this is a reiteration of
this question
in short the Problem is: i need to retry a Server connection if it takes longer than x to process (eg Server connection died mid request, congestions,...
Chris_Grant
Employee
Jan 18, 2016iRules are event driven. As such you will need to key this off an event that is being hit. You might try modifying the code used to detect and prevent Slowloris attacks, detailed here: https://support.f5.com/kb/en-us/solutions/public/10000/200/sol10260.html
We use a timer to reset the connection one second after initialization:
when CLIENT_ACCEPTED { set rtimer 0 after 1000 { if { not $rtimer} { drop } } }
when HTTP_REQUEST { set rtimer 1 }
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects