stick on src same source ip send request to different server port

2013-04-17 Thread William Wu
I'm wondering when setting up haproxy with stick on src,  if the same client 
send 2 requests to different ports on server.  i.e. 443 and 8443.  Are these 2 
requests going to hit same server always?


Thanks,

William





Re: stick on src same source ip send request to different server port

2013-04-17 Thread Baptiste
Yes,

as long as you use them in the same backend or you point one backend
to the other one.
An example for a persistence for both IMAP and SMTP:
http://blog.exceliance.fr/2011/07/14/send-users-to-the-same-server-for-imap-and-smtp/

Baptiste


On Thu, Apr 18, 2013 at 2:58 AM, William Wu william...@citrix.com wrote:
 I’m wondering when setting up haproxy with “stick on src”,  if the same
 client send 2 requests to different ports on server.  i.e. 443 and 8443.
 Are these 2 requests going to hit same server always?





 Thanks,



 William