cralston_17844
Jan 20, 2010Nimbostratus
TCL error while executing "HTTP::method"
I've been trying to clean up my /var/log/ltm errors lately, at the suggestion of F5 support. One that's been bugging me is this:
tmm tmm[1208]: 01220001:3: TCL error: IRULE_foobar - while executing "HTTP::method"
I get about a thousand of those entries a day out of hundreds of thousands of executions of the iRule.
My gut feeling is that it's an ignorable error that is generated when an HTTP request aborts or times out before the iRule runs (or finishes running), such that HTTP::method is sort of a limbo call to make.
On the other hand, I don't get any errors for any other iRules that include HTTP::method in them, even though they're not being used as frequently.
The rule in question appends a local X- header for most traffic giving some info about what sort of forwarding took place, original client IP, SSL status, etc. The sites we host use this data in varying amounts.
Here's the key part of the code:
when HTTP_REQUEST {
if { [HTTP::method] equals "TRACE" } { reject }
append headers as necessary...
}
Am I doing something wrong? Is there some way I can catch that error before it logs? Where did my other sock go?
Thanks,
-Chris