Forum Discussion
SERVER_CONNECTED and reject - how affects clientside
For what scenario you are applying above irule ? Please explain your scenario.
That is part of my rewrite of ProxyPass iRule so quite a log story... to make it short I need:
- Check if VS has Server SSL profile attached
- If so check if Server SSL profile configured via Data Group or generated based on naming convention exists.
Both above test can be earliest (or I am wrong here) performed in SERVER_CONNECTED event.
If both above test fail I would like to send 500 error to connecting client and reset serverside and clientside connections.
Right now it seems that using only reject in SERVER_CONNECT works OK - LB_FAILED is triggered and HTTP::respond command executed - so seems my goal is achieved.
If so I am curious why sequence (in SERVER_CONNECTED):
- reject
- TCP::close
triggers LB_FAILED but HTTP::respond is not executed.
Piotr
Recent Discussions
Related Content
* 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