Re: mod_tls in 2.4.x - remove?

2024-04-16 Thread jean-frederic clere
the testsuite to test mod_ssl instead mod_ssl via pytest in trunk (PR: https://github.com/apache/httpd/pull/433) so I would like to keep mod_tls in trunk if possible (but I am NOT planning to work on mod_tls for the moment). -- Cheers Jean-Frederic

Re: pytest test/modules/md/test_310_conf_store.py

2024-04-10 Thread jean-frederic clere
On 4/9/24 19:06, jean-frederic clere wrote: Hi, Has anyone run those tests recently? I have errors like "MD testdomain.org does not match any VirtualHost with ...", probably I am doing something wrong... It seems ignoring the warnings AH10045 and AH10105 is a possible fix. -- Ch

pytest test/modules/md/test_310_conf_store.py

2024-04-09 Thread jean-frederic clere
Hi, Has anyone run those tests recently? I have errors like "MD testdomain.org does not match any VirtualHost with ...", probably I am doing something wrong... -- Cheers Jean-Frederic

Re: pytest results for 2.4.59

2024-04-07 Thread jean-frederic clere
On 4/6/24 20:02, Rainer Jung wrote: Hi Jean-Frederic and all, you didn't write at what point in time you take the thread dump. I see the SIGTERM messages logged during test execution always during the last test in each group (http2, md, ...) just because that is the time the logs are checked

Re: pytest results for 2.4.59

2024-04-06 Thread jean-frederic clere
On 4/6/24 13:10, Yann Ylavic wrote: On Sat, Apr 6, 2024 at 10:46 AM jean-frederic clere wrote: On 4/5/24 07:55, Ruediger Pluem wrote: Are you able to provide a stacktrace of the hanging process (thread apply all bt full)? It seems pthread_kill(t, 0) returns 0 even the thread t has exited

Re: pytest results for 2.4.59

2024-04-06 Thread jean-frederic clere
to behave like httpd reporting running threads that have exited... I have created https://bugzilla.redhat.com/show_bug.cgi?id=2273757 in case it is a fedora/rhel bug. Regards Rüdiger -- Cheers Jean-Frederic #include #include #include #include #include #define NUM_THREADS 5 void

Re: pytest results for 2.4.59

2024-04-05 Thread jean-frederic clere
a work-around a problem or just some timing issues? Regards Rüdiger -- Cheers Jean-Frederic

Re: pytest results for 2.4.59

2024-04-05 Thread jean-frederic clere
rc = Weird... only one thread Regards Rüdiger -- Cheers Jean-Frederic

Re: pytest results for 2.4.59

2024-04-05 Thread jean-frederic clere
a look... -- Cheers Jean-Frederic

Re: [VOTE] Release httpd-2.4.59-rc1 as httpd-2.4.59

2024-04-04 Thread jean-frederic clere
-Frederic -- Cheers Jean-Frederic

Re: [VOTE] Release httpd-2.4.59-rc1 as httpd-2.4.59

2024-04-04 Thread jean-frederic clere
are: = e4ec4ce12c6c8f5a794dc2263d126cb1d6ef667f034c4678ec945d61286e8b0f = baa96a7c9bba48f758ca9b3e3d63f0c65db960653618109d4d7bcbf3d4776d1d51453beb65e5af57655f0b1cfb88913842bc3a117fe7acc754ddb43d4524bc82 The SVN candidate source is found at tags/2.4.59-rc1-candidate. -- Cheers Jean-Frederic

Re: [VOTE] Release httpd-2.4.59-rc1 as httpd-2.4.59

2024-04-03 Thread jean-frederic clere
On 4/3/24 14:26, Eric Covener wrote: [X] +1: It's not just good, it's good enough! Build and tested in fedora 39 and windows server 2019 (VS17 2022 Cmake). -- Cheers Jean-Frederic

Re: svn commit: r1915947 - /httpd/httpd/branches/2.4.x/STATUS

2024-03-05 Thread jean-frederic clere
93 ^/httpd/httpd/trunk . + +1: jfclere, + + PATCHES/ISSUES THAT ARE BEING WORKED [ New entries should be added at the START of the list ] -- Cheers Jean-Frederic

Re: svn commit: r1913815 - in /httpd/httpd/trunk: changes-entries/pr68080.txt modules/ssl/mod_ssl.c modules/ssl/ssl_engine_config.c modules/ssl/ssl_private.h

2024-02-22 Thread jean-frederic clere
On 2/20/24 11:40, Yann Ylavic wrote: On Mon, Feb 19, 2024 at 5:36 PM jean-frederic clere wrote: On 11/15/23 23:09, yla...@apache.org wrote: Modified: httpd/httpd/trunk/modules/ssl/ssl_engine_config.c URL:http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/ssl/ssl_engine_config.c?rev

Re: svn commit: r1913815 - in /httpd/httpd/trunk: changes-entries/pr68080.txt modules/ssl/mod_ssl.c modules/ssl/ssl_engine_config.c modules/ssl/ssl_private.h

2024-02-19 Thread jean-frederic clere
pilation problems with: mc->szCryptoDevice = NULL; in ssl_cmd_SSLCryptoDevice(). -- Cheers Jean-Frederic

Re: age in proxy_balancer_method

2024-02-15 Thread jean-frederic clere
understandable and maybe Jim remembers something similar to that. Best regards, Rainer Am 21.12.23 um 08:23 schrieb jean-frederic clere: On 12/20/23 21:22, Jim Jagielski wrote: I'll have to go back through my notes... I do recall adding fields that although were not being used at the time, were

Re: reset in proxy_balancer_method

2024-02-15 Thread jean-frederic clere
On 2/15/24 13:04, Ruediger Pluem wrote: On 2/15/24 9:28 AM, jean-frederic clere wrote: On 2/14/24 20:54, Ruediger Pluem wrote: On 2/14/24 3:45 PM, jean-frederic clere wrote: On 2/14/24 08:19, Ruediger Pluem wrote: On 2/9/24 11:59 AM, jean-frederic clere wrote: Hi, I have noted

Re: reset in proxy_balancer_method

2024-02-15 Thread jean-frederic clere
On 2/14/24 20:54, Ruediger Pluem wrote: On 2/14/24 3:45 PM, jean-frederic clere wrote: On 2/14/24 08:19, Ruediger Pluem wrote: On 2/9/24 11:59 AM, jean-frederic clere wrote: Hi, I have noted to the reset() clean up too much in the balancers: mod_lbmethod_bybusyness.c for example does

Re: reset in proxy_balancer_method

2024-02-14 Thread jean-frederic clere
On 2/14/24 08:19, Ruediger Pluem wrote: On 2/9/24 11:59 AM, jean-frederic clere wrote: Hi, I have noted to the reset() clean up too much in the balancers: mod_lbmethod_bybusyness.c for example does: +++     for (i = 0; i < balancer->workers->nelts; i++, worker++) {     (*w

Re: svn commit: r1915782 - in /httpd/httpd/branches/2.4.x: ./ build/PrintPath build/find_apr.m4 build/find_apu.m4 changes-entries/mod_slotmem_shm.txt modules/slotmem/mod_slotmem_shm.c

2024-02-14 Thread jean-frederic clere
On 2/14/24 12:18, jfcl...@apache.org wrote: Removed: httpd/httpd/branches/2.4.x/build/PrintPath httpd/httpd/branches/2.4.x/build/find_apr.m4 httpd/httpd/branches/2.4.x/build/find_apu.m4 Oops I have undone that, sorry. -- Cheers Jean-Frederic

Re: using changes-entries or write in CHANGES directly

2024-02-14 Thread jean-frederic clere
On 2/14/24 11:06, Ruediger Pluem wrote: On 2/14/24 10:53 AM, jean-frederic clere wrote: Hi, Are there any rules to use changes-entries or write directly in CHANGES? IMHO change-entries is preferred. See http://svn.apache.org/viewvc/httpd/httpd/trunk/README.CHANGES?view=markup I just

using changes-entries or write in CHANGES directly

2024-02-14 Thread jean-frederic clere
Hi, Are there any rules to use changes-entries or write directly in CHANGES? -- Cheers Jean-Frederic

reset in proxy_balancer_method

2024-02-09 Thread jean-frederic clere
new worker via /balancer-manager/ probably requires some kind of reset() otherwise all the load moves to the new worker which is not the best May be calling age() or triggering calls to age() can help. -- Cheers Jean-Frederic

Re: svn commit: r1915411 - /httpd/httpd/trunk/CMakeLists.txt

2024-01-26 Thread jean-frederic clere
TARGET_PROPERTIES(abs PROPERTIES COMPILE_FLAGS "-DAPP_FILE ${define_long_name} -DBIN_NAME=abs.exe ${EXTRA_COMPILE_FLAGS}") TARGET_LINK_LIBRARIES(abs ${EXTRA_LIBS} ${APR_LIBRARIES} ${OPENSSL_LIBRARIES} Ws2_32.lib) ENDIF() -GET_PROPERTY(tmp_includes TARGET ab PROPERTY INCLUDE_DIRECTORIES) # Unit Test Suite IF(CHECK_FOUND) -- Cheers Jean-Frederic

Re: age in proxy_balancer_method

2024-01-08 Thread jean-frederic clere
because you want to give the past a smaller influence on the balancing decision than the more recent activity. I hope that's understandable and maybe Jim remembers something similar to that. Best regards, Rainer Am 21.12.23 um 08:23 schrieb jean-frederic clere: On 12/20/23 21:22, Jim Jagielski wrote

Re: age in proxy_balancer_method

2023-12-20 Thread jean-frederic clere
something that breaks your design ;-) On Dec 14, 2023, at 8:27 AM, jean-frederic clere wrote: Hi, Any examples or docs about: apr_status_t (*age)(proxy_balancer *balancer, server_rec *s); In struct proxy_balancer_method? -- Cheers Jean-Frederic -- Cheers Jean-Frederic

age in proxy_balancer_method

2023-12-14 Thread jean-frederic clere
Hi, Any examples or docs about: apr_status_t (*age)(proxy_balancer *balancer, server_rec *s); In struct proxy_balancer_method? -- Cheers Jean-Frederic

Re: balancers bybusyness, bytraffic and byrequest thread/process safe issues

2023-09-07 Thread jean-frederic clere
since a weaker ordering implies less synchronization thus probably more concurrency, what I meant is that they don't influence *correctness* of the returned values! OK thanks for your help. Regards; Yann. -- Cheers Jean-Frederic

Re: balancers bybusyness, bytraffic and byrequest thread/process safe issues

2023-09-06 Thread jean-frederic clere
. So we use __ATOMIC_SEQ_CST so we can't fail or do I miss something? On Aug 31, 2023, at 7:44 AM, jean-frederic clere wrote: On 8/30/23 17:33, Rainer Jung wrote: Hi JFC, I have not checked ur current code, but the topic reminds me of our history in mod_jk land. There we switched

Re: balancers bybusyness, bytraffic and byrequest thread/process safe issues

2023-09-01 Thread jean-frederic clere
something? On Aug 30, 2023, at 11:19 AM, jean-frederic clere wrote: Hi, All the balancers have thread/process safe issues, but with bybusyness the effect is worse, basically a worker may stay with a busy count greater than zero even no request is being processed. busy is

Re: balancers bybusyness, bytraffic and byrequest thread/process safe issues

2023-09-01 Thread jean-frederic clere
: IIRC, the goal of having an "aging" function was to handle this exact kind of thing, where values could be normalized over a long period of time so that old entries that may skew results are not weighted as heavily as new ones. On Aug 30, 2023, at 11:19 AM, jean-frederic clere w

Re: balancers bybusyness, bytraffic and byrequest thread/process safe issues

2023-08-31 Thread jean-frederic clere
never deremented below zero if we lost increments, but if we lost decrements the counters stayed elevated. I think there we now have no longer such problems. Best regards, Rainer Am 30.08.23 um 17:19 schrieb jean-frederic clere: Hi, All the balancers have thread/process safe issues

balancers bybusyness, bytraffic and byrequest thread/process safe issues

2023-08-30 Thread jean-frederic clere
- create another balancer that just choose random a worker. -- Cheers Jean-Frederic

tomcat and httpd track before July 13th! Final Reminder: Community Over Code call for presentations closing soon

2023-07-06 Thread jean-frederic clere
Hi, Don't forget to submit talks ASAP to: https://communityovercode.org/call-for-presentations/ there is a tomcat and httpd track for us. Cheers Jean-Frederic Forwarded Message Subject: Final Reminder: Community Over Code call for presentations closing soon Date: Wed, 28

Re: build trunk in windows

2023-06-12 Thread jean-frederic clere
On 5/4/23 11:31, Yann Ylavic wrote: On Wed, May 3, 2023 at 2:54 PM jean-frederic clere wrote: On 4/24/23 18:25, Steffen wrote: There is a howto Building Apache and dependencies using CMake at https://www.apachelounge.com/viewtopic.php?t=8609 <https://www.apachelounge.com/viewtopic.ph

Re: svn commit: r1910327 - /httpd/httpd/branches/2.4.x/STATUS

2023-06-09 Thread jean-frederic clere
, rpluem *) mod_proxy: If we fail to connect to all looked up IP's from the worker lookup cache it might be caused by a change on DNS side. Try another -- Cheers Jean-Frederic

Re: [VOTE] Switch read/write repository from Subversion to Git

2023-05-09 Thread jean-frederic clere
On 5/4/23 10:34, Ruediger Pluem wrote: [X]: Move the read/write repository from Subversion to Git and leverage the features of Github (for now Actions and PR). -- Cheers Jean-Frederic

ProxyPass / balancer://qacluster/ vs ProxyPass / balancer://qacluster

2023-05-08 Thread jean-frederic clere
Hi, The right syntax is ProxyPass / balancer://qacluster/ the other one gives something like: "(scheme 'balancer'). If you are using a DSO version of mod_proxy". Does it make sense to try to valid those ProxPass a bit better? -- Cheers Jean-Frederic

Re: build trunk in windows

2023-05-05 Thread jean-frederic clere
On 5/4/23 11:31, Yann Ylavic wrote: On Wed, May 3, 2023 at 2:54 PM jean-frederic clere wrote: On 4/24/23 18:25, Steffen wrote: There is a howto Building Apache and dependencies using CMake at https://www.apachelounge.com/viewtopic.php?t=8609 <https://www.apachelounge.com/viewtopic.ph

Re: build trunk in windows

2023-05-03 Thread jean-frederic clere
24 apr. 2023 om 18:18 heeft jean-frederic clere het volgende geschreven: On 4/24/23 13:36, Ruediger Pluem wrote: I am not a Windows guy, but I guess the best way to build trunk on Windows is to use cmake which is integrated in later versions of Visual studio. So I need first apr, then ap

Re: build trunk in windows

2023-04-24 Thread jean-frederic clere
is not correct. +++ Are all libraries mandatory? (apr-util needs some and httpd some more). Regards Rüdiger On 4/24/23 1:05 PM, jean-frederic clere wrote: Hi, I am trying to build httpd on windoze... "The .dsp project files are distributed in Visual Studio 6.0 (98) format. Visual C++ 5.

build trunk in windows

2023-04-24 Thread jean-frederic clere
sure you reconvert the .msproj file again if its source .dsp file changes! This is really trivial, just open Apache.dsw in the VC++ 7.0 IDE once again and reconvert." Where can I find the VC++ 7.0 IDE to convert the .dsp I can't use? -- Cheers Jean-Frederic

Re: graceful stop of child process in a module

2023-04-17 Thread jean-frederic clere
On 4/17/23 01:00, Eric Covener wrote: On Fri, Apr 14, 2023 at 11:49 AM jean-frederic clere wrote: Hi, I am try to gracefully stop a child process instead using ap_assert(0), is there a "clean way" to do that? I added something like this to our distribution in IBM to address a hai

graceful stop of child process in a module

2023-04-14 Thread jean-frederic clere
Hi, I am try to gracefully stop a child process instead using ap_assert(0), is there a "clean way" to do that? -- Cheers Jean-Frederic

Re: mod_watchdog.c looping for mutex?

2023-03-21 Thread jean-frederic clere
On 3/19/23 12:21, Yann Ylavic wrote: On Sun, Mar 19, 2023 at 9:53 AM jean-frederic clere wrote: Hi, While debugging I noted something in mod_watchdog.c https://github.com/apache/httpd/blob/trunk/modules/core/mod_watchdog.c#L115 Shouldn't we have a else { } with a apr_sleep()? Basically

mod_watchdog.c looping for mutex?

2023-03-19 Thread jean-frederic clere
Hi, While debugging I noted something in mod_watchdog.c https://github.com/apache/httpd/blob/trunk/modules/core/mod_watchdog.c#L115 Shouldn't we have a else { } with a apr_sleep()? Basically the thread is looping there :-( -- Cheers Jean-Frederic

Re: mod_wasm: Contributing Upstream to Apache

2022-12-13 Thread jean-frederic clere
e believe mod_wasm is a worthy addition to httpd and it will allow us to catch up to some of the other web servers already supporting Wasm, like NGINX. We were encouraged by Rich Bowen, Jim Jagielski and Jean-Frederic Clere to submit it for contribution upstream and we are looking forward

Re: [VOTE] Release libapreq2-2.17

2022-08-23 Thread jean-frederic clere
On 8/18/22 13:31, Joe Orton wrote: [X] +1: It's not just good, it's good enough! Tested on fedora 36 -- Cheers Jean-Frederic

Re: problems with proxy worker and name_ex

2022-07-20 Thread jean-frederic clere
On 20/07/2022 11:09, Yann Ylavic wrote: On Wed, Jul 20, 2022 at 10:43 AM jean-frederic clere wrote: Hi, I think we have something wrong: https://github.com/apache/httpd/blob/trunk/include/ap_mmn.h#L719 and https://github.com/apache/httpd/blob/2.4.x/include/ap_mmn.h#L601 How external modules

problems with proxy worker and name_ex

2022-07-20 Thread jean-frederic clere
Hi, I think we have something wrong: https://github.com/apache/httpd/blob/trunk/include/ap_mmn.h#L719 and https://github.com/apache/httpd/blob/2.4.x/include/ap_mmn.h#L601 How external modules can detect that 2.4.x has diverged from trunk? -- Cheers Jean-Frederic

Re: svn commit: r1899390 - in /httpd/httpd/trunk: CHANGES modules/proxy/mod_proxy.c modules/proxy/mod_proxy.h

2022-04-05 Thread jean-frederic clere
to create the balancers I am still stuck how to create the memory slots for the workers of the those dynamic balancers. On Apr 1, 2022, at 3:42 AM, jean-frederic clere <mailto:jfcl...@gmail.com>> wrote: On 01/04/2022 08:47, jean-frederic clere wrote: On 31/03/2022 12:59, Ruediger Pluem wrot

Re: svn commit: r1899390 - in /httpd/httpd/trunk: CHANGES modules/proxy/mod_proxy.c modules/proxy/mod_proxy.h

2022-04-01 Thread jean-frederic clere
On 01/04/2022 10:03, Ruediger Pluem wrote: On 4/1/22 8:47 AM, jean-frederic clere wrote: On 31/03/2022 12:59, Ruediger Pluem wrote: On 3/31/22 12:34 PM, Stefan Eissing wrote: Am 31.03.2022 um 11:55 schrieb Ruediger Pluem : On 3/31/22 11:11 AM, Ruediger Pluem wrote: On 3/30/22 4

Re: svn commit: r1899390 - in /httpd/httpd/trunk: CHANGES modules/proxy/mod_proxy.c modules/proxy/mod_proxy.h

2022-04-01 Thread jean-frederic clere
with Apache 2.5.1 + *) mod_proxy: Add WorkerBalancerGrowth to allow adding workers to + balancer created dynamically or via "empty" + [Jean-Frederic Clere] I am not sure why this is needed. You can already do this via Or ProxySet growth=10 FYI: Travis trunk also fails almost

Re: svn commit: r1899390 - in /httpd/httpd/trunk: CHANGES modules/proxy/mod_proxy.c modules/proxy/mod_proxy.h

2022-04-01 Thread jean-frederic clere
On 01/04/2022 08:47, jean-frederic clere wrote: On 31/03/2022 12:59, Ruediger Pluem wrote: On 3/31/22 12:34 PM, Stefan Eissing wrote: Am 31.03.2022 um 11:55 schrieb Ruediger Pluem : On 3/31/22 11:11 AM, Ruediger Pluem wrote: On 3/30/22 4:42 PM, jfcl...@apache.org wrote: Author

Re: svn commit: r1899390 - in /httpd/httpd/trunk: CHANGES modules/proxy/mod_proxy.c modules/proxy/mod_proxy.h

2022-04-01 Thread jean-frederic clere
@@ -1,6 +1,10 @@ -*- coding: utf-8 -*- Changes with Apache 2.5.1 + *) mod_proxy: Add WorkerBalancerGrowth to allow adding workers to + balancer created dynamically or via "empty" + [Jean-Frederic Clere] I am not sure why this is needed. You can already do this via Or ProxySet

Re: HTTP and HTTP/1.x separation

2022-03-31 Thread jean-frederic clere
On 30/03/2022 11:11, Stefan Eissing wrote: Am 28.03.2022 um 15:52 schrieb jean-frederic clere : On 24/03/2022 13:21, Stefan Eissing wrote: You are invited to have a look at my PR for separating HTTP/1.x processing from generic HTTP protocol handling and verification: https://github.com

Re: Support JSON output in mod_status and mod_info

2022-03-28 Thread jean-frederic clere
s up-front before I try to prototype this? +1 ;-) Thanks and regards, Rainer -- Cheers Jean-Frederic

Re: HTTP and HTTP/1.x separation

2022-03-28 Thread jean-frederic clere
On 28/03/2022 17:25, Stefan Eissing wrote: Correct. When I first tried, the perl http2 framework was not very mature Yep the perl http2 module looks abandoned :-( -- Cheers Jean-Frederic

Re: HTTP and HTTP/1.x separation

2022-03-28 Thread jean-frederic clere
On 28/03/2022 16:03, Stefan Eissing wrote: Am 28.03.2022 um 15:52 schrieb jean-frederic clere : On 24/03/2022 13:21, Stefan Eissing wrote: You are invited to have a look at my PR for separating HTTP/1.x processing from generic HTTP protocol handling and verification: https://github.com

Re: HTTP and HTTP/1.x separation

2022-03-28 Thread jean-frederic clere
:39 GMT < etag: "bf-5db0ce1e1e93e" < accept-ranges: bytes < content-length: 191 < content-type: text/html +++ Did I miss something? -- Cheers Jean-Frederic

Re: httpd-framework problem.

2022-03-28 Thread jean-frederic clere
On 28/03/2022 12:00, jean-frederic clere wrote: Hi, I have the following message with the framework: +++ t/modules/proxy_websockets.t lib/Math/Random/ISAAC/XS.c: loadable library and perl binaries are mismatched (got handshake key 0xed00080, needed 0xeb00080) t/modules

httpd-framework problem.

2022-03-28 Thread jean-frederic clere
256, 0x100) +++ Anyone one has an idea? If no I will look in details later today ;-) -- Cheers Jean-Frederic

Re: svn commit: r1891321 - in /httpd/test/framework/trunk/t: conf/proxy.conf.in modules/proxy_balancer.t

2021-07-07 Thread jean-frederic clere
> $query); + ok t_cmp($r->code, 200, "request failed"); + ok !t_cmp($r->content, qr/ajp/, "AJP worker created"); +} Regards Rüdiger -- Cheers Jean-Frederic

PROXY_WORKER_FREE and PROXY_WORKER_DRAIN

2021-07-06 Thread jean-frederic clere
Hi, Actually those are not used, what was the idea when creating them? Guessing mark the worker as DRAIN (for draining) and later as FREE for reuse..., but how to define a FREE worker? Basically how to be sure it completely drained. Comments? -- Cheers Jean-Frederic

Re: svn commit: r1890945 - /httpd/httpd/branches/2.4.x/STATUS

2021-07-01 Thread jean-frederic clere
logic. Trunk version of patch: Oops it seems I have removed too much stuff in my backport I guess I need a new propose, thanks for checking. -- Cheers Jean-Frederic

Re: mod_proxy / mod_ssl interworking

2021-06-02 Thread jean-frederic clere
On 01/06/2021 19:37, Stefan Eissing wrote: Am 01.06.2021 um 18:21 schrieb jean-frederic clere : On 01/06/2021 16:40, Stefan Eissing wrote: Am 01.06.2021 um 16:39 schrieb Stefan Eissing : PR on trunk, for review and commenting: https://github.com/apache/httpd/pull/190 This change makes

Re: mod_proxy / mod_ssl interworking

2021-06-01 Thread jean-frederic clere
He said while Travis is still running...optimistic as always... https://github.com/apache/httpd/pull/190/commits/867fa126f21575f104a1717ac49eaf1d8a558d77#diff-5506c76bad00bf136938033783d8d966bc463de54a679d3a8a390621b7a793c1R131 Should that be filled "automagically"? -- Cheers Jean-Frederic

Re: svn commit: r1879145 - in /httpd/httpd/trunk: include/ap_mmn.h modules/proxy/mod_proxy.c modules/proxy/mod_proxy.h

2021-06-01 Thread jean-frederic clere
directive to control pre_ vs normal translate stage, let's handle this at each ProxyPass level, with the mapping= parameter. Any plans to document the feature? If not, I will prepare tests and docs ;-) Cheers Jean-Frederic

Re: [VOTE] Release httpd-2.4.48

2021-05-19 Thread jean-frederic clere
On 17/05/2021 23:36, Christophe JAILLET wrote: [X] +1: It's not just good, it's good enough! Tests are OK on fedora 34. Note that we miss the back port of https://github.com/apache/httpd/pull/186 for GCC11 for the --enable-maintainer-mode -- Cheers Jean-Frederic

Re: htcacheclean.c error when compiling with apr-1.6.x and apr-1.7.x

2021-05-11 Thread jean-frederic clere
On 07/05/2021 11:12, Joe Orton wrote: On Tue, May 04, 2021 at 09:12:04AM +0200, jean-frederic clere wrote: On 04/05/2021 08:59, jean-frederic clere wrote: ... In file included from htcacheclean.c:36: htcacheclean.c: In function ‘process_dir’: /home/jfclere/APR-1.7.x/include/apr-1/apr_ring.h

reporting the bytes read and transferred to the worker from the tunnel

2021-05-05 Thread jean-frederic clere
Hi, I have noted that when using websocket the bytes read and transfered by the worker when using the tunnel are not taken in account. I have a patch attached, for comments ;-) Any better ideas how to fix that? -- Cheers Jean-Frederic Index: mod_proxy.h

Re: htcacheclean.c error when compiling with apr-1.6.x and apr-1.7.x

2021-05-04 Thread jean-frederic clere
On 04/05/2021 08:59, jean-frederic clere wrote: Hi, I have the following: +++ /home/jfclere/APR-1.7.x/build-1/libtool --silent --mode=compile gcc  -g -O2 -pthread -std=c89 -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wdeclaration-after-statement -Wpointer

htcacheclean.c error when compiling with apr-1.6.x and apr-1.7.x

2021-05-04 Thread jean-frederic clere
ild with apr 1.6.x and apr-util 1.6.x but something looks broken now. -- Cheers Jean-Frederic

Re: svn commit: r1887415 - in /httpd/httpd/trunk/modules/proxy: mod_proxy.h mod_proxy_ajp.c mod_proxy_balancer.c mod_proxy_hcheck.c

2021-03-10 Thread jean-frederic clere
too early :-( +status = ajp_handle_cping_cpong(backend->sock, r, timeout); +ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, baton->ctx->s, "HCCPING done %d", status); +return backend_cleanup("HCCPING", backend, ctx->s, status); +} + static apr_status_t hc_check_tcp(baton_t *baton) { int status; Regards Rüdiger -- Cheers Jean-Frederic

Re: svn commit: r1887415 - in /httpd/httpd/trunk/modules/proxy: mod_proxy.h mod_proxy_ajp.c mod_proxy_balancer.c mod_proxy_hcheck.c

2021-03-10 Thread jean-frederic clere
]:8081 In fact the worker encoded in the form to: So it get encoded twice, as well as hcuri and balancer name. Does it make more sense to remove the encoding while building the form? -- Cheers Jean-Frederic

hcmethod_t

2021-03-08 Thread jean-frederic clere
, but what are the 2 others? What is planed to have there? ;-) -- Cheers Jean-Frederic

Re: svn commit: r1887176 - /httpd/httpd/trunk/modules/proxy/mod_proxy_balancer.c

2021-03-08 Thread jean-frederic clere
uest_rec *, apr_table_t *). This would declare this as a public API and would make it possible to extend it later if needed. If the API is planned to be limited to just this single function wouldn't an optional function serve us better here? My plans are to extent balancer_manage() by supporting more p

Re: Broken: apache/httpd#1471 (trunk - 89d5433)

2021-03-03 Thread jean-frederic clere
Oops # Noop config to trigger merging bug. Require all granted I am investigating :-( -- Cheers Jean-Frederic

Re: Allowing balancer without ProxyPass

2021-03-02 Thread jean-frederic clere
On 02/03/2021 16:07, Yann Ylavic wrote: On Tue, Mar 2, 2021 at 3:44 PM jean-frederic clere wrote: On 02/03/2021 12:35, Yann Ylavic wrote: On Tue, Mar 2, 2021 at 11:05 AM jean-frederic clere wrote: Has anyone something against making the above creating a balancer that can be used later

Re: Allowing balancer without ProxyPass

2021-03-02 Thread jean-frederic clere
On 02/03/2021 12:35, Yann Ylavic wrote: On Tue, Mar 2, 2021 at 11:05 AM jean-frederic clere wrote: Has anyone something against making the above creating a balancer that can be used later by the balancer-manager handler to create the corresponding workers and a customized load_balancer

Allowing balancer without ProxyPass

2021-03-02 Thread jean-frederic clere
provider to replace the ProxyPass logic? -- Cheers Jean-Frederic

BalancerGrowth

2021-02-22 Thread jean-frederic clere
sible" balancer (to create in balancer_post_config() and init balancer_child_init()) does it worth trying it? -- Cheers Jean-Frederic

Re: warning in error_log when using websocket tunnel

2021-02-15 Thread jean-frederic clere
On 12/02/2021 18:09, Yann Ylavic wrote: On Fri, Feb 12, 2021 at 5:59 PM jean-frederic clere wrote: On 12/02/2021 17:34, Ruediger Pluem wrote: On 2/12/21 5:17 PM, jean-frederic clere wrote: [] do { rv = apr_pollset_poll(pollset, timeout, , ); } while

Re: warning in error_log when using websocket tunnel

2021-02-12 Thread jean-frederic clere
On 12/02/2021 17:34, Ruediger Pluem wrote: On 2/12/21 5:17 PM, jean-frederic clere wrote: Hi, I have the warnings in error_log when a web socket is opened at the shutdown time: +++ [Fri Feb 12 16:10:39.243444 2021] [core:warn] [pid 2879580:tid 140162655000576] AH00045: child process

warning in error_log when using websocket tunnel

2021-02-12 Thread jean-frederic clere
we have the while here... Is there a way to test why the get the signal in ap_proxy_tunnel_run() and react on shutdown command to prevent the warning message? -- Cheers Jean-Frederic

Re: Process to remove spam in BZ

2021-01-19 Thread jean-frederic clere
only). They will act upon by removing the spam and banning the user. Cheers; Yann. OK, I mailed infra, thanks -- Cheers Jean-Frederic

Process to remove spam in BZ

2021-01-19 Thread jean-frederic clere
Hi, Is there a process to remove spam in BZ, for example https://bz.apache.org/bugzilla/show_bug.cgi?id=60757 has spam added to it... -- Cheers Jean-Frederic

Re: [VOTE] Release httpd-2.4.46

2020-08-03 Thread jean-frederic clere
On 01/08/2020 16:13, Daniel Ruggeri wrote: [X] +1: It's not just good, it's good enough! Passed on fedroa32 x86_64. -- Cheers Jean-Frederic

Re: [VOTE] Release httpd-2.4.45

2020-07-30 Thread jean-frederic clere
On 29/07/2020 17:26, Daniel Ruggeri wrote: [X] +1: It's not just good, it's good enough! Tested on fedora32 x86_64. -- Cheers Jean-Frederic

Re: hardening mod_write and mod_proxy like mod_jk with servletnormalize

2020-07-23 Thread jean-frederic clere
, some keep defending the .; or ..; as a normative acceptable path element, and refuse to consider the idea that every such occurance is malicious, without evidence of a single legit application of that formation. If you don't want to let them slide, we *could* deny \.;.* and \.\.;.* by default. Or we already *can* when ajp users would like to add rewrite rules. mod_proxy_http and mod_proxy_ajp behave the same way, mod_jk will return DECLINED and end normally in 404. ; in the URI is for a parameter like ;foo=bar I was first just suggesting to return 400 in possibly "unsafe" ..;/ URI using a parameter to prevent "regressions", but I think we ended looking to something too complex :-( -- Cheers Jean-Frederic

Re: hardening mod_write and mod_proxy like mod_jk with servletnormalize

2020-06-22 Thread jean-frederic clere
roxyPass /docs ajp://localhost:8009/docs secret=%A1b2!@ mapping=servlet ProxyPass /test ajp://localhost:8009/test secret=%A1b2!@ mapping=servlet -- Cheers Jean-Frederic

Re: hardening mod_write and mod_proxy like mod_jk with servletnormalize

2020-06-22 Thread jean-frederic clere
On 22/06/2020 13:02, Yann Ylavic wrote: On Mon, Jun 22, 2020 at 12:33 PM jean-frederic clere wrote: On 22/06/2020 12:23, Yann Ylavic wrote: On Mon, Jun 22, 2020 at 12:13 PM jean-frederic clere wrote: But there is still something I want to prevent: ProxyPass /docs ajp://localhost:8009

Re: hardening mod_write and mod_proxy like mod_jk with servletnormalize

2020-06-22 Thread jean-frederic clere
On 22/06/2020 12:23, Yann Ylavic wrote: On Mon, Jun 22, 2020 at 12:13 PM jean-frederic clere wrote: But there is still something I want to prevent: ProxyPass /docs ajp://localhost:8009/docs and url like: curl -v --path-as-is "http://localhost:8000/docs/..;food=bar/test/index.jsp; How

Re: hardening mod_write and mod_proxy like mod_jk with servletnormalize

2020-06-22 Thread jean-frederic clere
On 22/06/2020 11:50, Yann Ylavic wrote: On Mon, Jun 22, 2020 at 11:20 AM jean-frederic clere wrote: On 19/06/2020 12:02, Yann Ylavic wrote: On Thu, Jun 18, 2020 at 6:37 PM jean-frederic clere wrote: ProxyMappingDecoded Off ProxyPass /test ajp://localhost:8009/test secret=%A1b2!@ mapping

Re: hardening mod_write and mod_proxy like mod_jk with servletnormalize

2020-06-22 Thread jean-frederic clere
On 19/06/2020 12:02, Yann Ylavic wrote: On Thu, Jun 18, 2020 at 6:37 PM jean-frederic clere wrote: ProxyMappingDecoded Off ProxyPass /test ajp://localhost:8009/test secret=%A1b2!@ mapping=servlet [] what is going wrong with "http://localhost:8000/docs/..;food=bar/test;food=bar/inde

Re: hardening mod_write and mod_proxy like mod_jk with servletnormalize

2020-06-18 Thread jean-frederic clere
On 17/06/2020 13:26, Yann Ylavic wrote: On Sat, Jun 13, 2020 at 11:18 AM jean-frederic clere wrote: On 11/06/2020 13:50, Yann Ylavic wrote: On Thu, Jun 11, 2020 at 1:22 PM Yann Ylavic wrote: On Thu, Jun 11, 2020 at 9:57 AM Yann Ylavic wrote: On Thu, Jun 11, 2020 at 9:50 AM Yann Ylavic

Re: hardening mod_write and mod_proxy like mod_jk with servletnormalize

2020-06-13 Thread jean-frederic clere
Regards; Yann. -- Cheers Jean-Frederic

Re: hardening mod_write and mod_proxy like mod_jk with servletnormalize

2020-06-11 Thread jean-frederic clere
On 10/06/2020 11:53, Ruediger Pluem wrote: On 6/9/20 12:05 PM, jean-frederic clere wrote: Hi, Basically it adds servletnormalizecheck to mod_proxy for ProxyPass/ProxyPassMatch and mod_rewrite when using P I have tested the following uses: #ProxyPass  /docs ajp://localhost:8009/docs secret

hardening mod_write and mod_proxy like mod_jk with servletnormalize

2020-06-09 Thread jean-frederic clere
heck # What is not supported is curl -v --path-as-is "http://localhost:8000/docs/..;foo=bar/;foo=bar/test/index.jsp; that could be remapped to ProxyPass /test ajp://localhost:8009/test secret=%A1b2!@ servletnormalizecheck or a Comments? -- C

Re: [VOTE] Release httpd-2.4.43

2020-03-27 Thread jean-frederic clere
On 26/03/2020 15:50, Daniel Ruggeri wrote: [X] +1: It's not just good, it's good enough! Tested on fedora31. Thanks Daniel -- Cheers Jean-Frederic

  1   2   3   4   5   >