Re: half-closed solved ? (was Re: [PATCH] BUG/MAJOR: stream: fix tcp half connection expire causes) cpu 100%

2017-03-12 Thread
Hi Willy, I tested the patch you provided, able to solve my problems encountered. Thank you so enthusiastic help. my name is Hongbo Long. 2017-03-11 1:52 GMT+08:00 Willy Tarreau : > Guys, > > On Thu, Mar 09, 2017 at 05:06:43PM +0100, Willy Tarreau wrote: > > So I thought about dealing with

Re: X-forwarded-For have two ip address

2017-06-14 Thread
Hi, Comma is a special symbol,Can do so: backend b1 acl forward-exist req.hdr(X-Forwarded-For) -m found http-request set-header X-Forwarded-For %[capture.req.hdr(2)],%ci if forward-exist http-request set-header X-Forwarded-For %ci if !forward-exist server def 127.0.0.1:81

haproxy http2 benchmark

2018-01-30 Thread
*hi all,* *recently we are ready to upgrade to haproxy 1.8,however, when testing HTTP2, we found a drop in performance,below is the test scenario:* * haproxy version:* HA-Proxy version 1.8.3-205f675 2017/12/30 Copyright 2000-2017 Willy Tarreau Build options : TA

Re: haproxy http2 benchmark

2018-01-30 Thread
Data flow is: Client -> Haproxy > Nginx Http2 Http1.1 2018-01-31 11:51 GMT+08:00 Igor Cicimov : > > > On Wed, Jan 31, 2018 at 1:41 PM, 龙红波 wrote: > >> *hi all,* >> *recently we are ready to upgrad

[PATCH] epoll: the listener socket use EPOLLEXCLUSIVE flag

2018-04-10 Thread
Hi, all, haproxy still have the thundering herd problem in the multi-process mode, the EPOLLEXCLUSIVE flag has been added since linux 4.5, which can solve this problem 0001-epoll-the-listener-socket-use-EPOLLEXCLUSIVE-flag.patch Description: Binary data