Maybe stupid question but should "maxconn 0" work?

2021-12-01 Thread Aleksandar Lazic
Hi. I try to test some limits with peers and wanted to test "maxconn 0" before I start with the peers. Should "maxconn 0" work? I expect to get connection refused or similar and and 500 in the log but both curls get a 200 ``` # curl -v http://127.0.0.1:8080/; curl -v http://127.0.0.1:8080/ `

[PATCH] BUG/MEDIUM: sample: Fix memory leak in sample_conv_jwt_member_query

2021-12-01 Thread Tim Duesterhus
The function leaked one full buffer per invocation. Fix this by simply removing the call to alloc_trash_chunk(), the static chunk from get_trash_chunk() is sufficient. This bug was introduced in 0a72f5ee7c2a61bdb379436461269315c776b50a, which is 2.5-dev10. This fix needs to be backported to 2.5+.

[PATCH] hash: add support for consistent (hashing) 2x algorithm

2021-12-01 Thread Davide Pucci
Hi. I'm sorry to open a further thread, but last one (https://www.mail-archive.com/haproxy@formilux.org/msg41501.html) got ignored + was missing configuration support for the alrogithm proposed. Waiting for feedbacks. Kind regards, Davide. >From d856de9813854a482a1dd52b73adf55859610fcb Mo

Re: default-server behavior different in 2.2 vs. 2.4?

2021-12-01 Thread Christopher Faulet
Le 11/29/21 à 09:56, Christian Ruppert a écrit : Hey, we have something like: server maint 192.168.70.98:80 weight 1 backup non-stick default-server check maxconn 100 ssl verify required sni str(somestr) ca-file /etc/ssl/certs/ca-certificates.crt observe layer7 se

Good News Amazon Gift Card and iPhone

2021-12-01 Thread support
Comments: Hi, ⤵⤵⤵ Amazon, iPhone and Lidl company is giving away Gift card, iPhone and iPad to first 75 people. It's start now, Believe me Big Prize For You. Just Simple.If You would like to participate in the the offer. Go Now>>>

Re: [EXTERNAL] [PATCH] MEDIUM: pool second update but for the apple case

2021-12-01 Thread Willy TARREAU
On Fri, Nov 26, 2021 at 08:51:56PM +, David CARLIER wrote: > Hi > > Here the following up for the apple system allocator (aka libmalloc). Thank you David, now merged (second version). Willy