Re: svn commit: r1914067 - in /httpd/httpd/trunk: changes-entries/ldap-optimise.txt modules/aaa/mod_authnz_ldap.c

2023-11-23 Thread Graham Leggett via dev
On 23 Nov 2023, at 13:28, Yann Ylavic wrote: >> Unfortunately the message is correct and we do just that via >> get_dn_for_nonldap_authn (line 1451). The DN you mention we look for >> later in line 1480 via util_ldap_cache_getuserdn. > > My guess was that if r->user is set we always want to

Re: svn commit: r1589993 - in /httpd/httpd/trunk: CHANGES docs/manual/expr.xml docs/manual/mod/mod_authnz_ldap.xml modules/aaa/mod_authnz_ldap.c

2023-11-23 Thread Christophe JAILLET
Le 18/11/2023 à 20:52, Yann Ylavic a écrit : On Wed, Apr 30, 2014 at 1:02 AM Yann Ylavic wrote: On Tue, Apr 29, 2014 at 10:54 PM, Christophe JAILLET wrote: Hi, doc does not build because of below: CJ Le 25/04/2014 13:14, minf...@apache.org a écrit : + +LocationMatch ^/dav/(?[^/]+)/

Re: mod_dav_fs locking / Re: apr_dbm and concurrency

2023-11-23 Thread Emmanuel Dreyfus
On Thu, Nov 23, 2023 at 05:36:06PM +, Joe Orton wrote: > 3) in the mean time I worked up a PR for mod_dav_fs which adds a global > mutex around the dbm lockdb use. This passes my stress tests for the > first time. How concurent is the stress test? In the past, I have been badly hurt by a

mod_dav_fs locking / Re: apr_dbm and concurrency

2023-11-23 Thread Joe Orton
Adding dev@httpd to a dev@apr thread about apr_dbm locking being broken. On Sun, Nov 12, 2023 at 07:43:13AM -0600, Greg Stein wrote: > Or, apps can stick to an older APR. ... we don't have to carry this forward > into future versions of APR (IMO). > > To your point, it is probably a single page

Re: svn commit: r1912245 - in /httpd/httpd/trunk/modules/proxy: balancers/mod_lbmethod_bybusyness.c mod_proxy_balancer.c proxy_util.c proxy_util.h

2023-11-23 Thread Ruediger Pluem
On 11/23/23 5:05 PM, Yann Ylavic wrote: > On Thu, Nov 23, 2023 at 4:46 PM Yann Ylavic wrote: >> >> On Thu, Nov 23, 2023 at 4:17 PM Ruediger Pluem wrote: >>> >>> On 11/23/23 3:53 PM, Yann Ylavic wrote: >>> I am asking because I guess I am hit now by races in the byrequests LB >>> with the

Re: svn commit: r1912245 - in /httpd/httpd/trunk/modules/proxy: balancers/mod_lbmethod_bybusyness.c mod_proxy_balancer.c proxy_util.c proxy_util.h

2023-11-23 Thread Yann Ylavic
On Thu, Nov 23, 2023 at 4:46 PM Yann Ylavic wrote: > > On Thu, Nov 23, 2023 at 4:17 PM Ruediger Pluem wrote: > > > > On 11/23/23 3:53 PM, Yann Ylavic wrote: > > > > > > As for the 64bit atomics vs APR version dance, it's because the former > > > are not available before apr-1.7 and likely not

Re: svn commit: r1912245 - in /httpd/httpd/trunk/modules/proxy: balancers/mod_lbmethod_bybusyness.c mod_proxy_balancer.c proxy_util.c proxy_util.h

2023-11-23 Thread Yann Ylavic
On Thu, Nov 23, 2023 at 4:17 PM Ruediger Pluem wrote: > > On 11/23/23 3:53 PM, Yann Ylavic wrote: > > > > As for the 64bit atomics vs APR version dance, it's because the former > > are not available before apr-1.7 and likely not reliable before 1.7.4 > > (at least for some architectures where

Re: svn commit: r1912245 - in /httpd/httpd/trunk/modules/proxy: balancers/mod_lbmethod_bybusyness.c mod_proxy_balancer.c proxy_util.c proxy_util.h

2023-11-23 Thread Ruediger Pluem
On 11/23/23 3:53 PM, Yann Ylavic wrote: > On Thu, Nov 23, 2023 at 12:11 PM Ruediger Pluem wrote: >> >> On 9/11/23 3:50 PM, jfcl...@apache.org wrote: >>> Author: jfclere >>> Date: Mon Sep 11 13:50:21 2023 >>> New Revision: 1912245 >>> >>> URL: http://svn.apache.org/viewvc?rev=1912245=rev >>>

Re: svn commit: r1912245 - in /httpd/httpd/trunk/modules/proxy: balancers/mod_lbmethod_bybusyness.c mod_proxy_balancer.c proxy_util.c proxy_util.h

2023-11-23 Thread Yann Ylavic
On Thu, Nov 23, 2023 at 12:11 PM Ruediger Pluem wrote: > > On 9/11/23 3:50 PM, jfcl...@apache.org wrote: > > Author: jfclere > > Date: Mon Sep 11 13:50:21 2023 > > New Revision: 1912245 > > > > URL: http://svn.apache.org/viewvc?rev=1912245=rev > > Log: > > Arrange the bybusyness logic and prevent

Re: svn commit: r1914067 - in /httpd/httpd/trunk: changes-entries/ldap-optimise.txt modules/aaa/mod_authnz_ldap.c

2023-11-23 Thread Ruediger Pluem
On 11/23/23 2:28 PM, Yann Ylavic wrote: > On Thu, Nov 23, 2023 at 1:33 PM Ruediger Pluem wrote: >> >> >> >> On 11/23/23 12:52 PM, Graham Leggett via dev wrote: >>> On 23 Nov 2023, at 11:25, Ruediger Pluem wrote: >>> > -if (req->dn == NULL || !*req->dn) { > -

Re: svn commit: r1914067 - in /httpd/httpd/trunk: changes-entries/ldap-optimise.txt modules/aaa/mod_authnz_ldap.c

2023-11-23 Thread Yann Ylavic
On Thu, Nov 23, 2023 at 1:33 PM Ruediger Pluem wrote: > > > > On 11/23/23 12:52 PM, Graham Leggett via dev wrote: > > On 23 Nov 2023, at 11:25, Ruediger Pluem wrote: > > > >>> -if (req->dn == NULL || !*req->dn) { > >>> -ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r, APLOGNO(02636) >

Re: svn commit: r1914067 - in /httpd/httpd/trunk: changes-entries/ldap-optimise.txt modules/aaa/mod_authnz_ldap.c

2023-11-23 Thread Ruediger Pluem
On 11/23/23 12:52 PM, Graham Leggett via dev wrote: > On 23 Nov 2023, at 11:25, Ruediger Pluem wrote: > >>> -    if (req->dn == NULL || !*req->dn) { >>> -    ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r, APLOGNO(02636) >>> -  "auth_ldap authorize: require ldap-filter:

Re: svn commit: r1914067 - in /httpd/httpd/trunk: changes-entries/ldap-optimise.txt modules/aaa/mod_authnz_ldap.c

2023-11-23 Thread Graham Leggett via dev
On 23 Nov 2023, at 11:25, Ruediger Pluem wrote: >> -if (req->dn == NULL || !*req->dn) { >> -ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r, APLOGNO(02636) >> - "auth_ldap authorize: require ldap-filter: user's DN " >> - "has not been defined;

Re: svn commit: r1914067 - in /httpd/httpd/trunk: changes-entries/ldap-optimise.txt modules/aaa/mod_authnz_ldap.c

2023-11-23 Thread Ruediger Pluem
On 11/23/23 11:22 AM, minf...@apache.org wrote: > Author: minfrin > Date: Thu Nov 23 10:22:58 2023 > New Revision: 1914067 > > URL: http://svn.apache.org/viewvc?rev=1914067=rev > Log: > Optimise handling LDAP authorization where LDAP was not used > previously for LDAP authentication. > >

Re: svn commit: r1912245 - in /httpd/httpd/trunk/modules/proxy: balancers/mod_lbmethod_bybusyness.c mod_proxy_balancer.c proxy_util.c proxy_util.h

2023-11-23 Thread Ruediger Pluem
On 9/11/23 3:50 PM, jfcl...@apache.org wrote: > Author: jfclere > Date: Mon Sep 11 13:50:21 2023 > New Revision: 1912245 > > URL: http://svn.apache.org/viewvc?rev=1912245=rev > Log: > Arrange the bybusyness logic and prevent bad busy values > this closes #383 > > Modified: >