Forum Discussion
Jonathan_Edgewo
Nimbostratus
Mar 10, 2007http 204 response with http::close statement
When using a rule that responds to http requests with a 204 response code, if it use the http::close statement after the response statement, I get this error in the log:
TCL error: Rule http_204 ...
hoolio
Cirrostratus
Sep 15, 2008Hi bl0ndie,
What's the functional difference between using HTTP::close compared with TCP::close in 9.4.5? What is an HTTP connection? Is it only supposed to set the Connection header to Close versus FIN'ing the connection with a TCP::close?
Also, it looks like the HTTP::close command still doesn't work in 9.4.5 in HTTP_RESPONSE:
when HTTP_RESPONSE {
HTTP::respond 200 content "responded"
HTTP::respond 200 content "responded" Connection Close
log local0. "TCP close"
TCP::close
log local0. "HTTP close"
HTTP::close
}
Log error:
Sep 15 17:18:47 tmm tmm[1805]: Rule hooleya_tcp_http_close_rule : HTTP close
Sep 15 17:18:47 tmm tmm[1805]: 01220001:3: TCL error: hooleya_tcp_http_close_rule - Illegal argument. Can't execute in the current context. (line 7) invoked from within "HTTP::close"
Aaron
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
