Re: mode tcp with mode http/shoutcast radio issue

2011-03-11 Thread Willy Tarreau
On Wed, Mar 09, 2011 at 04:41:49PM +0200, Florescu, Dan Alexandru wrote: This works. Problem is that I cannot use acl's like the following: hdr(User-Agent) -i WinampMPEG/5.60 hdr(Host) -i 80.86.106.35 I guess this is because it receives the tcp stream and doen't analyze headers anymore.

RE: mode tcp with mode http/shoutcast radio issue

2011-03-11 Thread Florescu, Dan Alexandru
This worked. Thanks for the help Willy. -Original Message- From: Willy Tarreau [] Sent: Friday 11, March 03, 2011 10:39 To: Florescu, Dan Alexandru Cc: haproxy@formilux.org Subject: Re: mode tcp with mode http/shoutcast radio issue On Wed, Mar 09, 2011 at 04:41:49PM +0200, Florescu, Dan

mode tcp with mode http/shoutcast radio issue

2011-03-09 Thread Florescu, Dan Alexandru
Hello, I'm trying to use: frontend front mode http and backend web mode http backend radio mode tcp But will error with Unable to use proxy with wrong mode, required: http, has: tcp. Ok, this is understandable, so I changed to: frontend front mode tcp and backend web mode http backend