Re: Issue with HTX

2019-10-16 Thread Christopher Faulet
that 0x4f is not a constant and would vary from run to run) - To my understanding, the payload is chunk-encoded. Hi, Thanks to confirm. So it is indeed a problem of chunking fixed by the commit e0f8dc576. The patch was backported to 2.0 and 1.9. Thanks for your help, -- Christopher Faulet

Re: HTX mode causes problems with VMWare Horizon View Zero Clients

2019-10-15 Thread Christopher Faulet
Le 15/10/2019 à 13:19, Andrew Heberle a écrit : On Tue, 15 Oct 2019 at 4:45 pm, Christopher Faulet <mailto:cfau...@haproxy.com>> wrote: Le 14/10/2019 à 05:25, Andrew Heberle a écrit : > Hi All, > > We have a virtual desktop deployment under V

Re: freebsd builds are broken for few days - 30ee1ef, proxy_protocol_random_fail.vtc fails because scheme and host are now present in the syslog output.

2019-10-15 Thread Christopher Faulet
. Thus, this absolute URI will be reported in the logs. It is independent on the platform. Note that most of time, H2 clients use the absolute form for their requests. -- Christopher Faulet

Re: [PATCH] BUG/MINOR: WURFL: fix send_log() function arguments

2019-10-15 Thread Christopher Faulet
le's WURFL. (as far as 1.7) Merged, thank you Miroslav ! -- Christopher Faulet

Re: HTX mode causes problems with VMWare Horizon View Zero Clients

2019-10-15 Thread Christopher Faulet
this client is able to handle HTTP headers in a case-insensitive manner ? In HAProxy 2.0, HTTP headers names are sent in lower case when the HTX is enabled. It may be a problem for bogus applications. -- Christopher Faulet

Re: Issue with HTX

2019-10-15 Thread Christopher Faulet
corruption did you observe and how did you observe it ? Finally, could you share your configuration please ? Thanks, -- Christopher Faulet

[ANNOUNCE] haproxy-1.9.11

2019-09-27 Thread Christopher Faulet
configuration limit. And so on. As said about the release 2.0.7, if you are using the HTTP/2, you must upgrade as soon as possible. For others, please give 1.9.11 a try as it fixes many issues. --- Complete changelog : Adis Nezirovic (1): BUG/MINOR: Missing stat_field_names (since f21d17bb) C

[ANNOUNCE] haproxy-2.0.7

2019-09-27 Thread Christopher Faulet
upgrade. But if you are using HTTP/2, you must upgrade as soon as possible. --- Complete changelog : Christopher Faulet (13): BUG/MEDIUM: stick-table: Properly handle "show table" with a data type argument BUG/MINOR: mux-h2: Be sure to have a connection to unsubcribe BUG

Re: BUG/MEDIUM: spoe: engine-id is necessary if not health check

2019-09-27 Thread Christopher Faulet
Le 17/09/2019 à 11:11, Christopher Faulet a écrit : Le 16/09/2019 à 03:40, Kevin Zhu a écrit : Sorry Crhistopher, have you look at this mail ? On Mon, 2 Sep 2019 at 16:11, Kevin Zhu mailto:ip0...@gmail.com>> wrote: Hi Christopher SPOE engine-id is all same when nbproc is mor

Re: PATCH: install golang-1.13 during travis-ci build as it is required for BoringSSL

2019-09-17 Thread Christopher Faulet
Le 17/09/2019 à 09:48, Илья Шипицин a écrit : Willy, can you apply this ? boringssl builds are bloody murder пн, 16 сент. 2019 г. в 16:14, Илья Шипицин <mailto:chipits...@gmail.com>>: please see attached patch Merged. -- Christopher Faulet

Re: BUG/MEDIUM: spoe: engine-id is necessary if not health check

2019-09-17 Thread Christopher Faulet
sync mode. -- Christopher Faulet

[ANNOUNCE] haproxy-2.0.6

2019-09-13 Thread Christopher Faulet
Cyril's HTML doc : http://cbonte.github.io/haproxy-dconv/ --- Complete changelog : Adis Nezirovic (1): BUG/MINOR: Missing stat_field_names (since f21d17bb) Christopher Faulet (14): BUG/MEDIUM: proto-http: Always start the parsing if there is no outgoing data BUG/MINOR: http-

Re: Haproxy 2.0.4 - HTTP/2 on stats page prevents actions

2019-08-15 Thread Christopher Faulet
rted to 2.0. For details, see the commit bd9e8428 (git.haproxy.org/?p=haproxy.git;a=commit;h=bd9e8428). Thanks -- Christopher Faulet

Re: [PATCH] BUG/MINOR: Fix prometheus '# TYPE' and '# HELP' headers

2019-08-12 Thread Christopher Faulet
istcat(out, types[appctx->st2], max) == -1 || Thanks, merged now. -- Christopher Faulet

Re: [PATCH] BUG/MAJOR: http/sample: use a static buffer for raw -> htx conversion

2019-08-01 Thread Christopher Faulet
Le 01/08/2019 à 11:17, Christopher Faulet a écrit : Le 01/08/2019 à 06:17, Willy Tarreau a écrit : Hi Richard, On Wed, Jul 31, 2019 at 02:03:26PM -0700, Richard Russo wrote: I've attached a patch to fix a bug in http sampling on raw connections. This fixes crashes experienced with a frontend

Re: [PATCH] BUG/MAJOR: http/sample: use a static buffer for raw -> htx conversion

2019-08-01 Thread Christopher Faulet
e hurt... or at least, not more than before :) Thanks Richard ! -- Christopher Faulet

Re: Case Sensitive Headers

2019-07-25 Thread Christopher Faulet
ds ("option h1-case-adjust-bogus-client") and the other one for the backends ("option h1-case-adjust-bogus-server"). Best, -- Christopher Faulet

[ANNOUNCE] haproxy-2.0.3 (Security update)

2019-07-23 Thread Christopher Faulet
git.haproxy.org/?p=haproxy-2.0.git Changelog: http://www.haproxy.org/download/2.0/src/CHANGELOG Cyril's HTML doc : http://cbonte.github.io/haproxy-dconv/ --- Complete changelog : Christopher Faulet (12): BUG/MINOR: http_fetch: Fix http_auth/http_auth_group when called from TCP r

Re: Random 502's and instant 504's after upgrading

2019-07-22 Thread Christopher Faulet
don't know if your HAProxy already includes it or not. If not, please give it a try. If your tests were made with this last commit, it means there is a bug somewhere else. -- Christopher Faulet

Re: Random 502's and instant 504's after upgrading

2019-07-19 Thread Christopher Faulet
mmit/03627245). It was backported to 2.0. Could you check if it fixes your issue about 502 errors ? For 504 errors, I have no idea for now. -- Christopher Faulet

Re: Random 502's and instant 504's after upgrading

2019-07-18 Thread Christopher Faulet
section and then my problems went away. Seems like a bug in HTX. Any info needed for this one? Hi, Could you share your configuration please ? And if possible, it could be good to check if you have same errors with HTTP/1 requests. -- Christopher Faulet

Re: [PATCH] BUG/MINOR: mux-h1: Correctly report Ti timer when HTX and keepalives are used

2019-07-12 Thread Christopher Faulet
Le 12/07/2019 à 16:20, Christopher Faulet a écrit : Le 12/07/2019 à 15:56, David Pirotte a écrit : Sure thing, Christopher. Patch is attached. Thanks! Thanks ! merged now. Sorry, forgot to mention. I slightly amended you patch to also set t_handshake to 0 to have the right Th time

Re: [PATCH] BUG/MINOR: mux-h1: Correctly report Ti timer when HTX and keepalives are used

2019-07-12 Thread Christopher Faulet
Le 12/07/2019 à 15:56, David Pirotte a écrit : Sure thing, Christopher. Patch is attached. Thanks! Thanks ! merged now. -- Christopher Faulet

Re: [PATCH] BUG/MINOR: mux-h1: Correctly report Ti timer when HTX and keepalives are used

2019-07-12 Thread Christopher Faulet
email" ? -- Christopher Faulet

Re: Case Sensitive Headers

2019-07-10 Thread Christopher Faulet
ontent-length) -m found } http-response del-header content-length As said, it is ugly. But it does the trick for now. I will probably try to work on a solution for the 2.1. Even more so the legacy HTTP will be removed for this release. -- Christopher Faulet

Re: prometheus service kills ssl handshake

2019-07-08 Thread Christopher Faulet
this topic? Hi Aleks, Could you check with the latest 2.0 snapshot ? An issue about Prometheus was fixed (#151 on GitHub). And some others about connections. -- Christopher Faulet

Re: Get http connection client/server ip/port

2019-07-05 Thread Christopher Faulet
figuration to reproduce the bug. -- Christopher Faulet

Re: [PATCH] DOC: contrib: spoa_server Add some hints for building, spoa_server

2019-07-05 Thread Christopher Faulet
Le 03/07/2019 à 10:24, Aleksandar Lazic a écrit : Hi. I have added some hints into the spoa_server. Thanks Thierry for the nice server ;-) Thanks, merged now. -- Christopher Faulet

Re: Help with 1.8.1/4 and spoa_server/spoa_example

2019-07-05 Thread Christopher Faulet
to 1.0. -- Christopher Faulet >From 955c47ce6e8bf8a1ed644ffd353b52b54516c2fa Mon Sep 17 00:00:00 2001 From: Christopher Faulet Date: Fri, 5 Jul 2019 16:25:34 +0200 Subject: [PATCH] WIP: spoa_server: Downgrade SPOP version to 1.0 --- contrib/spoa_server/spoa.c | 6 +++--- contrib/spoa_ser

Re: Debugging protobuf and HTX

2019-07-05 Thread Christopher Faulet
...). -- Christopher Faulet

Re: question about spoe doc

2019-07-05 Thread Christopher Faulet
ir positions. Hope it helps :) -- Christopher Faulet

Re: issue with small object caching

2019-07-05 Thread Christopher Faulet
side, you can remove the header "Cache-Control" before using the cache. But, IMHO, it is a really bad idea. If the client set this header, it is on purpose (or it should be). -- Christopher Faulet

Re: Get http connection client/server ip/port

2019-07-05 Thread Christopher Faulet
_IP' => '217.73.20.190', 'HTTP_X_SERVER_PORT' => '22696', 'HTTP_X_SERVER_IP' => '217.73.20.190’, Hi, For the record, I closed the issue on Github. I guess it is a problem with the server. I've made some tests, and the HTTP request's headers are set to the right values. Regards, --

Re: haproxy=2.0.1: socket leak

2019-07-03 Thread Christopher Faulet
Hi Maksim, The bug should now be fixed. See commit 6c7e96a3e for details. The commit was backported to 2.0 and 1.9. Thanks ! -- Christopher Faulet

[ANNOUNCE] haproxy-2.0.1

2019-06-26 Thread Christopher Faulet
/git/haproxy-2.0.git/ Git Web browsing : http://git.haproxy.org/?p=haproxy-2.0.git Changelog: http://www.haproxy.org/download/2.0/src/CHANGELOG Cyril's HTML doc : http://cbonte.github.io/haproxy-dconv/ --- Complete changelog : Christopher Faulet (14): BUG/MEDIUM: h2/htx: Update da

Re: [PATCH 2/9] BUG/MINOR: log: Detect missing sampling ranges in config

2019-06-26 Thread Christopher Faulet
given"); + goto error; + } + beg = smp_sz_str; end = beg + strlen(beg); new_smp_sz = read_uint((const char **), end); Thanks, merged now. -- Christopher Faulet

Re: Bugfix version 2.0.1/2.1?

2019-06-24 Thread Christopher Faulet
we want to try to fix before. But if we don't have any fix by Wednesday, we will do the 2.0.1 as is. -- Christopher Faulet

Re: [PATCH 5/9] BUG/MINOR: spoe: Fix memory leak if failing to allocate memory

2019-06-24 Thread Christopher Faulet
goto out; Thanks, merged now. -- Christopher Faulet

Re: issue with small object caching

2019-06-21 Thread Christopher Faulet
isable the HTX by setting the directive "no option http-use-htx" in your default section. It could also be helpful to have the request headers as sent from IE and from FF and the response headers as sent from your server. -- Christopher Faulet

Re: issue with small object caching

2019-06-21 Thread Christopher Faulet
or ? Do you have any logs that could help to understand what's happening ? -- Christopher Faulet

Re: [PATCH] wurfl device detection fixes

2019-05-16 Thread Christopher Faulet
} For other patches, it seems to be good. -- Christopher Faulet

Re: [PR] modescurity spoa (contrib) crash if Host header is absent in HTTP request

2019-04-29 Thread Christopher Faulet
e commit messages to follow CONTRIBUTING guidelines. Please, try to follow them as far as possible the next time. Regards, -- Christopher Faulet

Re: BUG/MEDIUM: spoe: arg len encoded in previous frag frame but len changed

2019-04-29 Thread Christopher Faulet
failed and waste resources. Good catch. The fix was merged in upstream and backported to 1.9 and 1.8. Thanks, -- Christopher Faulet

[ANNOUNCE] haproxy-1.8.20

2019-04-29 Thread Christopher Faulet
=haproxy-1.8.git Changelog: http://www.haproxy.org/download/1.8/src/CHANGELOG Cyril's HTML doc : http://cbonte.github.io/haproxy-dconv/ --- Complete changelog : Christopher Faulet (9): BUG/MAJOR: spoe: Fix initialization of thread-dependent fields BUG/MAJOR: stats: Fix how

Re: v1.9.6: Lua sample-fetch 'backend_select': unknown runtime error from [C] method 'dup'

2019-04-26 Thread Christopher Faulet
est body. [1] http://git.haproxy.org/?p=haproxy-1.9.git;a=commit;h=3f829a4b7 -- Christopher Faulet

Re: [ANNOUNCE] haproxy-1.9.7

2019-04-26 Thread Christopher Faulet
in 1.9. The compilation doesn't fail because the EXTRA_OBJS variable only exists since the version 2.0-dev1 :) -- Christopher Faulet

[ANNOUNCE] haproxy-1.9.7

2019-04-25 Thread Christopher Faulet
oxy.org/git/haproxy-1.9.git/ Git Web browsing : http://git.haproxy.org/?p=haproxy-1.9.git Changelog: http://www.haproxy.org/download/1.9/src/CHANGELOG Cyril's HTML doc : http://cbonte.github.io/haproxy-dconv/ --- Complete changelog : Christopher Faulet (28): BUG

Re: [PATCH] wurfl device detection build fixes and dummy library

2019-04-24 Thread Christopher Faulet
da_haproxy_fetch(). Regards, -- Christopher Faulet

Re: [PATCH] wurfl device detection build fixes and dummy library

2019-04-24 Thread Christopher Faulet
ol to call it from the dummy library, in wurfl_lookup(). This way, we will be able to test this part. Regards, -- Christopher Faulet

Re: [PATCH] BUG/MAJOR: spoe: spoe_context shouldn't queue again if fragment send

2019-04-23 Thread Christopher Faulet
, it has not been backported yet in HAProxy 1.8. Thanks, -- Christopher Faulet

Re: [PATCH] BUG/MAJOR: spoe: Rollback frequency counter to sending_rate

2019-04-23 Thread Christopher Faulet
your FDs issue on HAProxy 1.9. -- Christopher Faulet

Re: Fwd: haproxy1.9, SPOA: too many open files

2019-04-23 Thread Christopher Faulet
Le 10/04/2019 à 08:44, Kevin Zhu a écrit : -- Forwarded message - From: *Kevin Zhu* mailto:ip0...@gmail.com>> Date: Wed, 10 Apr 2019 at 14:25 Subject: Re: haproxy1.9, SPOA: too many open files To: Christopher Faulet mailto:cfau...@haproxy.com>> Thinks reply. OS:

Re: v1.9.6+HEAD: segfault in h1_skip_chunk_crlf

2019-04-19 Thread Christopher Faulet
Le 19/04/2019 à 11:40, William Dauchy a écrit : Hi, On Fri, Apr 19, 2019 at 6:26 AM Willy Tarreau wrote: Good catch but in my opinion we should instead fix the called function (h1_skip_chunk_crlf). h1_skip_chunk_size() properly deals with the case where start==stop, but h1_skip_chunk_crlf()

Re: v1.9.6+HEAD: segfault in h1_skip_chunk_crlf

2019-04-18 Thread Christopher Faulet
/haproxy.c:2648 #8 run_thread_poll_loop (data=) at src/haproxy.c:2713 #9 0x7f73bbae6dd5 in start_thread () from /lib64/libpthread.so.0 #10 0x7f73ba81fead in clone () from /lib64/libc.so.6 It seems related to the last commits from Christopher Faulet, maybe around this commit: http

Re: segfault using cache with 1.9.4

2019-04-17 Thread Christopher Faulet
a bug in all HTTP sample fetches. So, your segfault is not related to the cache but to the way HTTP sample fetches work. I pushed fixes in the upstream and backported them in HAProxy-1.9. It should be ok now. Thanks ! -- Christopher Faulet

Re: haproxy1.9, SPOA: too many open files

2019-04-09 Thread Christopher Faulet
ion before investigating. Could you provide more information on the way you perform your benchmark. I also need to take a look on your HAProxy and spoe configurations. And finally, let me known how you start the agent. Regards, -- Christopher Faulet

Re: Strange "content-length" with http-use-htx

2019-03-27 Thread Christopher Faulet
such case but there is no reason to skip it. -- Christopher Faulet >From 07e02acaaeb104c9608cb93e1d988bae75ae16be Mon Sep 17 00:00:00 2001 From: Christopher Faulet Date: Wed, 27 Mar 2019 15:44:56 +0100 Subject: [PATCH] BUG/MINOR: mux-h1: Only skip invalid C-L headers on output When an HTTP req

Re: Strange "content-length" with http-use-htx

2019-03-27 Thread Christopher Faulet
t in HTTP/1.1 on the server side. If not, it is a bug. Regards, -- Christopher Faulet

Re: Chained http -> http frontends: http/2 error 400 vs http/1.1 error 502

2019-03-26 Thread Christopher Faulet
bug from curl. So everything seems to work as expected from the HAproxy point of view. -- Christopher Faulet

Re: Chained http -> http frontends: http/2 error 400 vs http/1.1 error 502

2019-03-01 Thread Christopher Faulet
a quick check, it is a bug. Instead of catching an error from the server side, we handle it as an abort from the client. I have to investigate a bit more because abortonclose seems to be broken too. And when HTX is enable, the H1 is buggy too. -- Christopher Faulet

Re: regtest, response lenght check failure for /reg-tests/http-capture/h00000.vtc with HTX enabled, using 2.0-dev1

2019-03-01 Thread Christopher Faulet
to have more accurate logs. Some things that should be move in the mux are still done at the channel level for now. Not only about logs. However, while the legacy HTTP is still there, it is a bit hard to start this refactoring. BTW, I missed to update the reg-test. I will do so. Thanks, -- Christopher Faulet

Re: http2-issue with http2 enabled on frontend and on backend

2019-02-26 Thread Christopher Faulet
configuration that reproduces the segmentation fault for us to reproduce? Hi, I agree. I found the bug. A fix was merged and backported in 1.9. Thanks, -- Christopher Faulet

Re: http-use-htx and IIS

2019-02-13 Thread Christopher Faulet
rch. Hi, Just for the record. I worked on this issue with Marco off-list. And a fix was merged and backported to 1.9. For details, see git.haproxy.org/?p=haproxy.git;a=commit;h=6cdaf2ad -- Christopher Faulet

Re: haproxy segfault

2019-02-13 Thread Christopher Faulet
confirm, it is a crash during the allocation of s->unique_id. The commit 451c5a88 fixes this bug. -- Christopher Faulet

Re: error in haproxy 1.9 using txn.req:send in lua

2019-02-13 Thread Christopher Faulet
fortunately, for now, there is no way to rewrite the HTTP messages in Lua. -- Christopher Faulet

Re: haproxy segfault

2019-02-12 Thread Christopher Faulet
oxy.org/?p=haproxy-1.9.git;a=commit;h=451c5a88 Maybe you've hit this bug. -- Christopher Faulet

Re: [PATCH] CONTRIB: contrib/prometheus-exporter: Add a Prometheus exporter for HAProxy

2019-02-11 Thread Christopher Faulet
Le 09/02/2019 à 10:47, Aleksandar Lazic a écrit : Hi Christopher. Am 07-02-2019 22:09, schrieb Christopher Faulet: Hi, This patch adds a new component in contrib. It is a Prometheus exporter for HAProxy. [snipp] More details in the README. I'm not especially a Prometheus expert. And I

[PATCH] CONTRIB: contrib/prometheus-exporter: Add a Prometheus exporter for HAProxy

2019-02-07 Thread Christopher Faulet
estions, he is welcome. Thanks -- Christopher >From d7e241786cc7056f28dad8bdd8fd72171c7a4e78 Mon Sep 17 00:00:00 2001 From: Christopher Faulet Date: Thu, 7 Feb 2019 15:38:42 +0100 Subject: [PATCH] CONTRIB: contrib/prometheus-exporter: Add a Prometheus exporter for HAProxy It has been developped as a service app

Re: [PATCH] REG-TEST: mailers: add new test for 'mailers' section

2019-01-21 Thread Christopher Faulet
;) Thanks in advance, PiBa-NL (Pieter) Hi Pieter, About the timing issue, could you try the following patch please ? With it, I can run the regtest about email alerts without any error. Thanks, -- Christopher Faulet >From 8b7822ad2c7d9e4f9fe6b19f57d1d1ff01336a70 Mon Sep 17 00:00:00 2001 F

Re: HTX & tune.maxrewrite [1.9.2]

2019-01-21 Thread Christopher Faulet
? Thanks, -- Christopher Faulet >From ccea4c140c8958507e8c91f14354e986eb8aabe6 Mon Sep 17 00:00:00 2001 From: Christopher Faulet Date: Mon, 21 Jan 2019 11:24:38 +0100 Subject: [PATCH 1/3] BUG/MINOR: proto-htx: Return an error if all headers cannot be receied at once When an HTX stream is wait

Re: HTX & tune.maxrewrite [1.9.2]

2019-01-18 Thread Christopher Faulet
multiplexer is not aware of the buffer reserve. So tweaking tune.maxrewrite won't have any effect. I'll work on a fix. Thanks, -- Christopher Faulet

Re: stats webpage crash, htx and scope filter, [PATCH] REGTEST is included

2019-01-17 Thread Christopher Faulet
Le 16/01/2019 à 22:25, Willy Tarreau a écrit : Hi Pieter, On Wed, Jan 16, 2019 at 08:44:58PM +0100, PiBa-NL wrote: Hi Willy, Christopher, Op 16-1-2019 om 17:32 schreef Willy Tarreau: On Wed, Jan 16, 2019 at 02:28:56PM +0100, Christopher Faulet wrote: here is a new patch, again. Willy, I hope

Re: stats webpage crash, htx and scope filter, [PATCH] REGTEST is included

2019-01-16 Thread Christopher Faulet
Le 15/01/2019 à 21:07, PiBa-NL a écrit : Hi Christopher, Op 15-1-2019 om 10:48 schreef Christopher Faulet: Le 14/01/2019 à 21:53, PiBa-NL a écrit : Hi Christopher, Op 14-1-2019 om 11:17 schreef Christopher Faulet: Le 12/01/2019 à 23:23, PiBa-NL a écrit : Hi List, I've configured haproxy

Re: stats webpage crash, htx and scope filter, [PATCH] REGTEST is included

2019-01-15 Thread Christopher Faulet
Le 14/01/2019 à 21:53, PiBa-NL a écrit : Hi Christopher, Op 14-1-2019 om 11:17 schreef Christopher Faulet: Le 12/01/2019 à 23:23, PiBa-NL a écrit : Hi List, I've configured haproxy with htx and when i try to filter the stats webpage. Sending this request: "GET /?;csv;scope=b1" to

Re: stats webpage crash, htx and scope filter, [PATCH] REGTEST is included

2019-01-14 Thread Christopher Faulet
t the HTX. If it's ok for you, I'll also merge your regtest. Thanks -- Christopher Faulet >From d09c87cf3d261b42f02671b3ddf2cbc36b7e1916 Mon Sep 17 00:00:00 2001 From: Christopher Faulet Date: Mon, 14 Jan 2019 11:07:34 +0100 Subject: [PATCH] BUG/MEDIUM: stats: Get the rigth scope pointer de

Re: [RFC PATCH] couple of reg-tests

2019-01-14 Thread Christopher Faulet
! -- Christopher Faulet

Re: stats webpage crash, htx and scope filter, [PATCH] REGTEST is included

2019-01-14 Thread Christopher Faulet
meone take a look? Thanks in advance. Hi Pieter, I'm on it. Thanks -- Christopher Faulet

Re: [PATCH] REGTEST: filters: add compression test

2019-01-09 Thread Christopher Faulet
e merged is attached to this mail*. Thank a lot Pieter. Thanks Fred and Pieter, now merged. I've just updated the patch to add the list of required options in the VTC file. -- Christopher Faulet

Re: [PATCH] REGTEST: filters: add compression test

2019-01-09 Thread Christopher Faulet
e is the patch to fix the bug. It is already merged. Thanks, -- Christopher Faulet >From 4893977665049d159d76077e7276a9e98f54c317 Mon Sep 17 00:00:00 2001 From: Christopher Faulet Date: Wed, 9 Jan 2019 12:16:58 +0100 Subject: [PATCH] BUG/MINOR: lua/htx: Respect the reserve when data are send fr

Re: [PATCH 1/1] REGTEST: Add some informatoin to test results.

2019-01-08 Thread Christopher Faulet
"${TESTDIR}" ]; then cat <<- EOF | tee -a "$TESTDIR/failedtests.log" $(echo "## $(cat "$i/INFO") ##") $(echo "## test results in: \"$i\"") -$(grep -- ^ "$i/LOG") +$(grep -E -- "^(|\*diag)" "$i/LOG") EOF done' sh {} + fi Thanks, now merged! -- Christopher Faulet

Re: compression in defaults happens twice with 1.9.0

2019-01-08 Thread Christopher Faulet
Le 07/01/2019 à 22:08, PiBa-NL a écrit : Hi Christopher, Op 7-1-2019 om 16:32 schreef Christopher Faulet: Le 06/01/2019 à 16:22, PiBa-NL a écrit : Hi List, Using both 1.9.0 and 2.0-dev0-909b9d8 compression happens twice when configured in defaults. This was noticed by user walle303 on IRC

Re: compression in defaults happens twice with 1.9.0

2019-01-07 Thread Christopher Faulet
the issue. Can someone take a look, thanks in advance. Hi Pieter, Here is the patch that should fix this issue. Could you confirm please ? Thanks -- Christopher Faulet >From ff3c04e40ab0f4a7176ef25835b40f0d068150cf Mon Sep 17 00:00:00 2001 From: Christopher Faulet Date: Mon, 7 Jan 2019 14:41

Re: htx with compression issue, "Gunzip error: Body lacks gzip magics"

2019-01-02 Thread Christopher Faulet
hanks in advance. Hi Pieter, In fact, It is not a bug related to the compression. But a pure HTX one, about the defragmentation when we need space to store data. Here is a patch. It fixes the problem for me. Willy, if it is ok for you, I can merge it in upstream and backport it in 1.9.

Re: d94f877 causes timeout in a basic connection test 1.9-dev11_d94f877

2018-12-18 Thread Christopher Faulet
) #    top  TEST ./PB-TEST/basic_connection.vtc FAILED (120.236) signal=9 Please can you take a look :) Thanks in advance. Hi Pieter, I've run your reg-test and everything works find for me. But I'll try to do more test to reproduce your problem. Thanks, -- Christopher Faulet

Re: corruption of data with compression in 1.9-dev10

2018-12-17 Thread Christopher Faulet
Le 12/12/2018 à 20:43, PiBa-NL a écrit : Hi Christopher, Op 12-12-2018 om 13:49 schreef Christopher Faulet: Le 12/12/2018 à 12:07, Pi Ba a écrit : Found the issue on the 10th (I think commit 56b0348).. so yesterday's commit isn't the (only) problem.. tested with commit 0007d0a the issue also

Re: corruption of data with compression in 1.9-dev10

2018-12-13 Thread Christopher Faulet
Le 12/12/2018 à 20:43, PiBa-NL a écrit : Hi Christopher, Op 12-12-2018 om 13:49 schreef Christopher Faulet: Le 12/12/2018 à 12:07, Pi Ba a écrit : Found the issue on the 10th (I think commit 56b0348).. so yesterday's commit isn't the (only) problem.. tested with commit 0007d0a the issue also

Re: corruption of data with compression in 1.9-dev10

2018-12-12 Thread Christopher Faulet
Le 12/12/2018 à 12:07, Pi Ba a écrit : Found the issue on the 10th (I think commit 56b0348).. so yesterday's commit isn't the (only) problem.. tested with commit 0007d0a the issue also happens. Reverting only below mentioned commit I can't easily do atm. I'll check more closely this evening.

Re: corruption of data with compression in 1.9-dev10

2018-12-12 Thread Christopher Faulet
Le 12/12/2018 à 10:52, Christopher Faulet a écrit : Le 12/12/2018 à 02:08, PiBa-NL a écrit : Hi List, Didn't have time yet to bisect when it went wrong. But attached testfile produces the following output after 3 curl requests at different speeds, this seems to trigger a problem as the hash

Re: corruption of data with compression in 1.9-dev10

2018-12-12 Thread Christopher Faulet
Le 12/12/2018 à 02:08, PiBa-NL a écrit : Hi List, Didn't have time yet to bisect when it went wrong. But attached testfile produces the following output after 3 curl requests at different speeds, this seems to trigger a problem as the hash of the downloaded content is nolonger the same as it

Re: [ANNOUNCE] haproxy-1.9-dev9 : the last mile

2018-12-03 Thread Christopher Faulet
HTTP/1.1 505 as h2 is not enabled on the backend (and being plaintext port 80 with no ALPN negotiation it is also unlikely). Hi Lukas, This is a known bug. But because a lack of time, I did not send my patches. Could you confirm they fix your bug ? Thanks ! -- Christopher Faulet >F

Re: regtest failure for /cache/h00000.vtc, config parsing fails? after commit 7805e2b

2018-12-02 Thread Christopher Faulet
) Argh! You're right. I was in hurry to finish all my work on the HTX. Here is a fix. Thanks, -- Christopher Faulet >From 641ebec149de991052a707aa00d31d97ddb367ff Mon Sep 17 00:00:00 2001 From: Christopher Faulet Date: Sun, 2 Dec 2018 09:37:38 +0100 Subject: [PATCH] BUG/MINOR: cfgparse:

Re: 1.7.11 with gzip compression serves incomplete files

2018-11-30 Thread Christopher Faulet
of a close and not all chunks are received ? Or the response is correct from the HTTP point of view, but the file is truncated once uncompressed ? Sorry to ask you so much work but I'm on a dead end for now. And this kind of bug a still pretty hard to reproduce. :) Thanks ! -- Christopher

Re: h1 buffer / confirmation

2018-11-20 Thread Christopher Faulet
Le 20/11/2018 à 17:06, David CARLIER a écrit : Hi Christopher (I think you maintain it), Just to confirm into src/h1_mux.c, line 131 you meant h1c->flags & *(H1C_F_CS_ERROR|H1C_F_CS_SHUTW*) instead ? Argh, Right ! Thanks for report. I'll fix that. -- Christopher Faulet

Re: haproxy segfaults when clearing the input buffer via LUA

2018-11-20 Thread Christopher Faulet
Le 17/11/2018 à 20:42, Willy Tarreau a écrit : Hi Moemen, On Wed, Nov 14, 2018 at 04:07:42PM +0100, Moemen MHEDHBI wrote: Hi, I was playing with LUA, to configure a traffic mirroring behavior. Basically I wanted HAProxy to send the http response of a request to a 3rd party before sending the

Re: varnishtest with H2>HTX>H1(keep-alive)

2018-11-20 Thread Christopher Faulet
is not yet compatible with the HTX for now. So you should never use both in same time. However, this configuration error should be detected during the configuration parsing, to avoid runtime errors. Here is a patch to do so. I'll merge it. Thanks -- Christopher Faulet >F

Re: 1.9b6 301 redirect anomaly

2018-11-15 Thread Christopher Faulet
, A bug was introduced in the commit 6b952c810 in the way the request's uri is captured. So it exists since the 1.9-dev2. Could you test the attached patch to confirm the fix ? Thanks ! -- Christopher Faulet >From 40c8c8bdbb73b41911fcf7e8fd2d7c9ac2d787e2 Mon Sep 17 00:00:00 2001 From: Christop

Re: [PATCH] MINOR: generate-certificates for BoringSSL

2018-10-08 Thread Christopher Faulet
Le 03/10/2018 à 12:52, Emmanuel Hocdet a écrit : Hi, For generate-certificates, X509V3_EXT_conf is used but it's an (very) old API call: X509V3_EXT_nconf must be preferred. Openssl compatibility is ok because it's inside #ifdef SSL_CTRL_SET_TLSEXT_HOSTNAME, introduce 5 years after

Re: [PATCH] MINOR: generate-certificates for BoringSSL

2018-10-08 Thread Christopher Faulet
Le 03/10/2018 à 12:52, Emmanuel Hocdet a écrit : Hi, For generate-certificates, X509V3_EXT_conf is used but it's an (very) old API call: X509V3_EXT_nconf must be preferred. Openssl compatibility is ok because it's inside #ifdef SSL_CTRL_SET_TLSEXT_HOSTNAME, introduce 5 years after

Re: haproxy 1.8.12 / 1.9- 20180623 / stopping process hangs with threads (100% cpu) on -sf reload / FreeBSD

2018-07-20 Thread Christopher Faulet
Le 20/07/2018 à 10:38, Willy Tarreau a écrit : On Fri, Jul 20, 2018 at 10:27:42AM +0200, Christopher Faulet wrote: In thread_sync_barrier, we exit when all threads have set their own bit in the barrier mask. It is done by comparing it to all_threads_mask. But we must not use a simple equality

[PATCH] BUG/MINOR: http: Set brackets for the unlikely macro at the right place

2018-07-20 Thread Christopher Faulet
Hi Willy, Here is a little patch to fix brackets place of the unlikely macro in http code. It must be backported in 1.8. -- Christopher Faulet >From fc53818025c8681c800e807960af2a6859006014 Mon Sep 17 00:00:00 2001 From: Christopher Faulet Date: Fri, 20 Jul 2018 09:54:26 +0200 Subj

  1   2   3   >