Speed up 'apr_pstrdup'

2011-08-08 Thread Christophe JAILLET
Hi, 'apr_pstrdup' can be (if not already done by the compiler...) speed up a little by inlining the call to 'apr_pmemdup'. This avoid the overhead of calling a function and remove a redundant NULL check. A proposed, untested, patch is attached. Best regards, CJ begin 666 diff_apr2.patch

Speed up 'apr_array_cat'

2011-08-08 Thread Christophe JAILLET
Hi, the function apr_array_cat could be speed up a bit by resetting only the memory that need to be. Actually, when there is not enough space in the destination table we do : - allocate new memory and set it all to 0 - copy the dst table to the new location - copy the src table after

[PATCH] Reduce apr_[i|l|off_t_]toa memory footprint for common cases

2013-03-25 Thread Christophe JAILLET
Hi list, I'm currently trying to reduce httpd memory footprint. (http://www.mail-archive.com/dev@httpd.apache.org/msg56558.html) On my test machine, processing a request requires about 15ko in the 'request' pool. I'm trying to reduce it to only use 8k which is the minimum allocated on Linux

Re: my messages get queued

2014-05-17 Thread Christophe JAILLET
Must be related to: https://blogs.apache.org/infra/entry/mail_outage https://twitter.com/infrabot (see post around the date in the first link) There were about 9M mails to process! It was expected to take some times to recover. CJ Le 15/05/2014 14:55, Jeff Trawick a écrit : On Fri,

Doxygen fixes

2014-07-19 Thread Christophe JAILLET
Hi, here is a patch against APR in order to fix most of the doxygen warnings. Note that I have updated a function prototype in apr_md5.h in order to match the corresponding function in apr_md5.c. s/password/pw/ I have also turned some @tip into @note because @tip is not a known keyword for

Question about patches

2015-03-16 Thread Christophe JAILLET
Hi, I would like to have details about the way patches should be submitted and backported within APR. The process seems to be different than the one from httpd. In http://apr.apache.org/guidelines.html, it is stated that changes do not require review and that only the bigger ones are (only)

Re: svn commit: r1832415 - /apr/apr/trunk/crypto/apr_md4.c

2018-06-15 Thread Christophe JAILLET
Hi, any plan/interrest in having apr_crypto_memzero() available even if APU_HAVE_CRYPTO is not defined? There are a few places in httpd and in APR that should use this safer memset'ing. CJ Le 28/05/2018 à 21:45, jaillet...@apache.org a écrit : Author: jailletc36 Date: Mon May 28 19:45:56

Re: Special characters in password for mod_dbd

2018-08-21 Thread Christophe JAILLET
ank you I was looking for such info and didn't found. Why so much chars left for params split? Should I fire a request or this will not be changed in future by concept? On 20.08.2018 22:14, Christophe JAILLET wrote: This seems to be mysql APR driver specific. For some reasons, in APR, i

Re: svn commit: r1839047 - in /apr/apr/branches/1.7.x: ./ misc/win32/start.c

2018-08-25 Thread Christophe JAILLET
Le 25/08/2018 à 20:18, Yann Ylavic a écrit : On Sat, Aug 25, 2018 at 3:28 PM wrote: --- apr/apr/branches/1.7.x/misc/win32/start.c (original) +++ apr/apr/branches/1.7.x/misc/win32/start.c Sat Aug 25 13:28:30 2018 @@ -39,7 +39,7 @@ int APR_DECLARE_DATA apr_app_init_comple * _CRT_BLOCK to

Re: buildbot failure in on apr-x64-macosx-trunk

2018-08-26 Thread Christophe JAILLET
I got twice this kind of messages after commit that should be doxygen only related. Is it expected or do I do something wrong? CJ Le 26/08/2018 à 13:59, build...@apache.org a écrit : The Buildbot has detected a new failure on builder apr-x64-macosx-trunk while building . Full details are

Re: svn commit: r1839755 - in /apr/apr/trunk: include/apr_json.h json/apr_json.c json/apr_json_decode.c

2018-08-31 Thread Christophe JAILLET
Le 31/08/2018 à 16:17, Eric Covener a écrit : On Fri, Aug 31, 2018 at 10:04 AM Yann Ylavic wrote: On Fri, Aug 31, 2018 at 3:29 PM William A Rowe Jr wrote: I presume you are subscribed to the commits list, which broadcasts our CI results? Hmm, I'm supposed to be subscribed to commits@ list

Re: [VOTE] apr-1.6.5 release

2018-09-11 Thread Christophe JAILLET
Le 10/09/2018 à 23:22, William A Rowe Jr a écrit : Please cast your votes on the following release candidate found at http://apr.apache.org/dev/dist/ (note release.sh is generating sha256+sha512, all in coreutils format.) Release apr-1.6.5   [  ] +/-1 This vote will conclude at 5pm EDT

Re: svn commit: r1902219 - in /apr/apr/branches/1.8.x: ./ test/testlock.c

2022-06-25 Thread Christophe JAILLET
Le 24/06/2022 à 11:06, yla...@apache.org a écrit : Author: ylavic Date: Fri Jun 24 09:06:05 2022 New Revision: 1902219 URL: http://svn.apache.org/viewvc?rev=1902219=rev Log: test/testlock: Fix -Werror=return-type * test/testlock.c(thread_mutex_function,

Re: svn commit: r1909094 - in /apr/apr/branches/1.8.x: ./ CHANGES

2023-04-12 Thread Christophe JAILLET
Le 12/04/2023 à 15:34, kot...@apache.org a écrit : Author: kotkov Date: Wed Apr 12 13:34:56 2023 New Revision: 1909094 URL: http://svn.apache.org/viewvc?rev=1909094=rev Log: On 1.8.x branch: Merge r1909090 from trunk: CHANGES: Remove entries that were released in APR 1.7.3. Modified:

Re: [VOTE] Release apr-1.7.4-rc1 as apr-1.7.4

2023-04-15 Thread Christophe JAILLET
Le 13/04/2023 à 04:25, Eric Covener a écrit : Hi all, Please find below the proposed release tarball and signatures: https://dist.apache.org/repos/dist/dev/apr/ I would like to call a VOTE over the next few days to release this candidate tarball apr-1.7.4-rc1 as 1.7.4: [X] +1: It's not just

Re: svn commit: r1909094 - in /apr/apr/branches/1.8.x: ./ CHANGES

2023-04-12 Thread Christophe JAILLET
Le 12/04/2023 à 20:13, Evgeny Kotkov via dev a écrit : Christophe JAILLET writes: If we remove things that are part of previous 1.7.x releases, shouldn't Changes for APR 1.7.[23] be added here instead? Hm, since these are the 1.8.x CHANGES maybe it'd be better to drop the 1.7.1, 1.7.2

Re: svn commit: r1909176 - in /apr/site/trunk/xdocs: download.xml index.xml

2023-04-17 Thread Christophe JAILLET
Le 16/04/2023 à 16:35, cove...@apache.org a écrit : Author: covener Date: Sun Apr 16 14:35:27 2023 New Revision: 1909176 URL: http://svn.apache.org/viewvc?rev=1909176=rev Log: publishing release apr-1.7.4 Modified: apr/site/trunk/xdocs/download.xml apr/site/trunk/xdocs/index.xml

Re: svn commit: r1907634 - /apr/apr/trunk/include/apr_buckets.h

2023-02-14 Thread Christophe JAILLET
Le 14/02/2023 à 11:51, Ivan Zhakov via dev a écrit : On Tue, 14 Feb 2023 at 10:58, > wrote: Author: jailletc36 Date: Tue Feb 14 07:56:50 2023 New Revision: 1907634 URL: http://svn.apache.org/viewvc?rev=1907634=rev

Re: Hard coded time value in apr_memcache.c

2023-05-10 Thread Christophe JAILLET
Le 10/05/2023 à 17:20, Ruediger Pluem a écrit : I am a little bit bothered by the following hardcoded time in memcache/apr_memcache.c::apr_memcache_find_server_hash_default if (curtime - ms->btime > apr_time_from_sec(5)) { ms->btime = curtime; if