Re: Migration from nginx

2015-09-09 Thread Thierry FOURNIER
On Tue, 8 Sep 2015 11:35:48 +0300 Vladimir Mihailenco wrote: > That is very unlikely since haproxy and Go app run on same machine. But > probably Go expects more data than haproxy buffers - I don't know how to > check this assumption... The appropriate Go code is >

Re: Migration from nginx

2015-09-06 Thread thierry . fournier
On Sat, 5 Sep 2015 18:13:57 +0300 Vladimir Mihailenco wrote: > Thanks for advice. It turns out that Go silently (without any reply and log > message) closes the connection when it can't fully read request headers. > Which is kinda strange, because I thought that

Re: Migration from nginx

2015-09-05 Thread Vladimir Mihailenco
Thanks for advice. It turns out that Go silently (without any reply and log message) closes the connection when it can't fully read request headers. Which is kinda strange, because I thought that haproxy fully reads request headers to route it to proper backend... On Sat, Sep 5, 2015 at 4:11 AM,

Re: Migration from nginx

2015-09-04 Thread thierry . fournier
On Wed, 2 Sep 2015 09:26:25 +0300 Vladimir Mihailenco wrote: > Hi, > > I am trying to migrate existing app written in Go from nginx to HA-Proxy > version 1.5.14 2015/07/02 on Ubuntu 12.04. nginx/haproxy runs behind F5 > load balancer. My config: >