Forum Discussion
ka_49032
Nimbostratus
Dec 03, 2010HTTP keep-alive problem: Need it on client side, but can't allow it on server side.
Hi!
I'm in a situation where the server side can't handle HTTP keep-alive connections, but I need to have it enabled on the client side.
CLIENT ---- keep-alive ----- BIG-IP ------ no keep-alive ------ SERVER
I've created an iRule that modifies the HTTP Connection header of the clients request to include "Connection: close", when sent to the server side. When the server responds it also has a "Connection: close" header, which I remove, but the BIGIP still sends a FIN, ACK to the client and closes the connection.
Any advice is appriciated.
Thanks
4 Replies
- hoolio
Cirrostratus
Hi Ka,
We discussed this scenario here:
http://devcentral.f5.com/Community/GroupDetails/tabid/1082223/asg/52/afv/topic/aft/1174682/aff/31/showtab/groupforums/Default.aspx
Can you try testing with a OneConnect profile as described in that post? You might also need to limit the HTTP requests to 1 on the HTTP profile.
Aaron - ka_49032
Nimbostratus
Thanks for the reply.
I forgot to mention one more constraint, I think I need to apply this with an iRule as it should only affect certain URLs.
I don't think I can apply the oneconnect profile within an iRule to only that traffic?
// Ka - hoolio
Cirrostratus
Hi Ka,
You can use ONECONNECT::reuse enable|disable to selectively enable/disable serverside connection re-use:
http://devcentral.f5.com/wiki/default.aspx/iRules/ONECONNECT__reuse.html
Aaron - ka_49032
Nimbostratus
Thanks for the help!
It seems to be working.
//Ka
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
