Forum Discussion
Cspillane_18296
Nimbostratus
Apr 30, 2015HTTP::respond -reset flag
Hello everyone,
a couple of things about the HTTP::respond command with the "-reset" flag set; see http::respond:
1) If we use the syntax "HTTP::respond -reset 200" (i.e. the syntax defined in th...
sfuerst_116779
Apr 30, 2015Historic F5 Account
The -reset flag is useful when there is a server-side connection. (For example, in the HTTP_RESPONSE event, or if there is pipelining.)
A use-case where it can help is when the server is responding with a 100MiB video file... but you want to HTTP::respond with something else. Normally, the HTTP filter will then sink the whole 100MiB response, wasting server resources. If you use the -reset flag, HTTP::respond will try to disconnect the server-side and reconnect to handle the next (pipelined) request.
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