Howdy,

I'm using HAProxy to choose among a series of dynamically allocated HTTP
backends. Basically, a user goes to URL A and clicks on the "start my
service" link. A new browser window/tab is popped up and they get the new
service/URL in the tab.

Basically, got to /service click on a link, get a new browser window at
/special/xxxxx where the xxxx piece is routed to the dynamically created
service for that user.

On the back end, the service is created in my cluster and I update
haproxy.cfg and do a "service haproxy reload".

The issue I seem to be facing is that the browser has a keep-alive'd
connection to my server so the http request goes to the old HAProxy
instance.

Is there a way to selectively force close the keep-alive for just the
browser that connects to the /special/xxxxx URL? Or maybe insert an
intermediate redirect URL that forces the close so the browser is forced to
re-establish a connection to the new HAProxy instance?

Thanks,

David

-- 
Brick Alloy http://brickalloy.com <https://telegr.am>
Lift, the simply functional web framework http://liftweb.net
Follow me: http://twitter.com/dpp
Blog: http://goodstuff.im

Reply via email to