Bug ID 943945: Incorrect Error message in /var/log/ltm when HTTP::respond is used in ADAPT_REQUEST_RESULT iRule event

Last Modified: Oct 06, 2020

Bug Tracker

Affected Product:  See more info
BIG-IP LTM(all modules)

Opened: Sep 10, 2020
Severity: 4-Minor

Symptoms

When HTTP::respond is used in ADAPT_REQUEST_RESULT in iRule event, an error message "http_process_state_prepend - Invalid action:0x10a071 clientside" is observed in /var/log/ltm log. Since HTTP::respond is not supported in ADAPT_REQUEST_RESULT, a better tcl error should be shown in /var/log/ltm like "TCL error: /Common/AVScan_Content <ADAPT_REQUEST_RESULT > - Illegal argument. Can't execute in the current context"

Impact

TCL error messages don't give adequate information to explain what triggered the TCL error.

Conditions

This can occur when HTTP::respond is used in ADAPT_REQUEST_RESULT: when ADAPT_REQUEST_RESULT { if {[ADAPT::result] contains "respond"} { HTTP::respond 403 -version auto ... } }

Workaround

None

Fix Information

None

Behavior Change