Re: Haproxy plus ices protocol (99.999% similar to HTTP)

2012-06-24 Thread Martin Konecny
Hi Willy, Here is my attempt at a patch using the changes you suggested. I'm not a C programmer (I work with interpreted languages), so please forgive any mistakes. I tried to use as close of a coding style to yours existing code as possible. This patch was diff'ed against the latest commit in

Re: Haproxy plus ices protocol (99.999% similar to HTTP)

2012-06-24 Thread Willy Tarreau
Hi Martin, On Sun, Jun 24, 2012 at 11:58:41AM -0400, Martin Konecny wrote: Hi Willy, Here is my attempt at a patch using the changes you suggested. I'm not a C programmer (I work with interpreted languages), so please forgive any mistakes. No problem ! I tried to use as close of a coding

Re: Haproxy plus ices protocol (99.999% similar to HTTP)

2012-06-24 Thread Martin Konecny
I wouldn't mind fixing it up with the suggestions you made. It gives me a good excuse to brush up my C skills :). Give me a few days :) Martin On Sun, Jun 24, 2012 at 12:25 PM, Willy Tarreau w...@1wt.eu wrote: Hi Martin, On Sun, Jun 24, 2012 at 11:58:41AM -0400, Martin Konecny wrote: Hi

Re: Haproxy plus ices protocol (99.999% similar to HTTP)

2012-06-22 Thread Willy Tarreau
On Fri, Jun 22, 2012 at 01:51:12AM -0400, Martin Konecny wrote: Hi Willy, I can only answer your question by saying that other clients that use this protocol but replace ICE/1.0 with HTTP/1.0 have no problem with HAProxy. It seems that those other clients realized it wasn't a good idea to

Re: Haproxy plus ices protocol (99.999% similar to HTTP)

2012-06-22 Thread Carlo Flores
(great thread.) On Thursday, June 21, 2012, Willy Tarreau wrote: On Fri, Jun 22, 2012 at 01:51:12AM -0400, Martin Konecny wrote: Hi Willy, I can only answer your question by saying that other clients that use this protocol but replace ICE/1.0 with HTTP/1.0 have no problem with HAProxy.

Re: Haproxy plus ices protocol (99.999% similar to HTTP)

2012-06-22 Thread Martin Konecny
Hi Willy, Interesting patch I found. Seems another user scratched his own itch. https://github.com/kjwierenga/haproxy-icey/commit/b56a3ead05fa6704ad88ccfc88053e9dac6c3ac7 It doesn't seem to be as comprehensive as the one you suggested though. I'll take a look into both solutions and get back to

Re: Haproxy plus ices protocol (99.999% similar to HTTP)

2012-06-22 Thread Willy Tarreau
On Fri, Jun 22, 2012 at 11:03:09AM -0400, Martin Konecny wrote: Hi Willy, Interesting patch I found. Seems another user scratched his own itch. https://github.com/kjwierenga/haproxy-icey/commit/b56a3ead05fa6704ad88ccfc88053e9dac6c3ac7 It doesn't seem to be as comprehensive as the one you

Haproxy plus ices protocol (99.999% similar to HTTP)

2012-06-21 Thread Martin Konecny
Hello, The ices protocol is based on HTTP and is used for online streaming. In the early days the specification for this protocol was to use 1 GET /serv/login.php?lang=enprofile=2 *ICE*/1.0 2 Host: www.mydomain.com 3 User-agent: my small browser 4 Accept:

Re: Haproxy plus ices protocol (99.999% similar to HTTP)

2012-06-21 Thread Willy Tarreau
Hello Martin, On Thu, Jun 21, 2012 at 07:49:13PM -0400, Martin Konecny wrote: Hello, The ices protocol is based on HTTP and is used for online streaming. In the early days the specification for this protocol was to use 1 GET /serv/login.php?lang=enprofile=2 *ICE*/1.0 2

Re: Haproxy plus ices protocol (99.999% similar to HTTP)

2012-06-21 Thread Martin Konecny
Hi Willy, I can only answer your question by saying that other clients that use this protocol but replace ICE/1.0 with HTTP/1.0 have no problem with HAProxy. It seems that those other clients realized it wasn't a good idea to change that part for no good reason :). I thought I had found a