Forum Discussion
hoolio
Cirrostratus
Sep 21, 2009Effect of 'drop/discard' in HTTP_RESPONSE event?
Hi,
I'm wondering what drop/discard actually do when called from HTTP_RESPONSE. I don't have an easy way to test the customer's exact scenario, so I'm hoping someone here can tell me w...
Yepher_100160
Nimbostratus
Aug 27, 2010
I hope someone can answer this question. I have looked through the IRules command and am a bit stumped.
In the HTTP_RESPONSE I want to close the connection to the server but leave the F5->Client socket/HTTP alone as if "HTTP_RESPONSE" event was never fired. I want to do this based on some header value from the server.
It appears that drop and discard does not solve the problem. Both of these commands close the clients socket immediately.
Here is an example use case:
http://yepher.com/sequencePNG.jsp?data=[settings]%0AshowRungNumber%3Dyes%0A%0A[title]%0ALeave%20Open%20Use%20Case%0A%0A[actors]%0AClientA%0A|%0AF5%0AWebServer%0A%0A[sequences]%0AHTTP%20Request%2C%20ClientA%2C%20F5%0AHTTP%20Request%2C%20F5%2C%20WebServer%0AHTTP%20Response%20%28x-leave-open%3A%20true%29%2C%20WebServer%2C%20F5%0ATCP%20Close%20Connection%2C%20F5%2C%20WebServer%0ANo%20HTTP%20Response%20Back%20to%20ClientA%2C%20F5%2C%20F5%0A%0A%0A&name=image.png
Once I figure out how to do this I wan to be able to push data over the F5-Client TCP connection from another server at some point in the future. I believe OneConnect won't be useful for this use case.
Another way to think about this is I want to send HTTP Chunked responses from multiple servers for a single HTTP_REQUEST/HTTP_RESPONSE.
Any help would be greatly appreciated.
-- Yepher
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