Re: Redis and mod_cache/mod_socache

2016-11-02 Thread William A Rowe Jr
On Mon, Oct 31, 2016 at 10:49 AM, Graham Leggett wrote: > On 31 Oct 2016, at 5:05 PM, Jim Jagielski wrote: > > > Moving to APR: > > > > Query: Think it would be worth my time to work on a Redis > > implementation for APR-util? I am working on a minimal Redis

Re: Redis and mod_cache/mod_socache

2016-11-02 Thread William A Rowe Jr
On Wed, Nov 2, 2016 at 1:11 PM, William A Rowe Jr wrote: > > But we've succeeded in keeping all of these components and their > library dependencies out of the process map for all apr-consuming > apps which don't invoke these API's... > > apr_crypto_openssl-2.so >

apr_redis

2016-11-02 Thread Jim Jagielski
OK, so my plan is to start pulling the relevant bits out of Credis for use in apr_redis. I was thinking initially about maybe just using the library, but for parity w/ apr_memcache, that doesn't make sense. Here's the rub: I'd prefer not having to do both the 1.6 and 2.0 "ports" at the same time;

Re: apr_redis

2016-11-02 Thread Joshua Marantz
Hi Jim, FWIW, mod_pagespeed has a redis interface in C++, and is based on hiredis . It's all in https://github.com/pagespeed/mod_pagespeed/tree/master/pagespeed/system .

Re: apr_redis

2016-11-02 Thread Graham Leggett
On 02 Nov 2016, at 2:20 PM, Jim Jagielski wrote: > OK, so my plan is to start pulling the relevant bits out of Credis for > use in apr_redis. I was thinking initially about maybe just using the > library, but for parity w/ apr_memcache, that doesn't make sense. > > Here's the

Re: apr_redis

2016-11-02 Thread Jim Jagielski
That's my thought as well... Due to the apr/apr-util combination in 2.0, it's actually easier to add to 1.6 and then port to 2.0 (since apr_redis is in apr-util), then the reverse (and typical method). Any idea why we are using apr_socket_sendv() in apr_memcache? Using apr_socket_send() would be

Re: apr_redis

2016-11-02 Thread Jim Jagielski
> On Nov 2, 2016, at 11:01 AM, Jim Jagielski wrote: > > > Also, unless people have an issue, I prefer using the "telnet" > method for the client (ala Credis) rather than the more cumbersome > method. > Skip that... Looks like the standard RESP way is quicker, so I'll use

Re: [PATCH] fix "svnadmin create" fail on x86

2016-11-02 Thread Stefan
Hi Dengke, On 11/2/2016 08:31, Dengke Du wrote: > When run the following command on x86: > > svnadmin create /var/test_repo > > It cause segmentation fault error like the following: > > [16499.751837] svnadmin[21117]: segfault at 83 ip f74bf7f6 sp > ffdd9b34 error

[PATCH] fix "svnadmin create" fail on x86

2016-11-02 Thread Dengke Du
When run the following command on x86: svnadmin create /var/test_repo It cause segmentation fault error like the following: [16499.751837] svnadmin[21117]: segfault at 83 ip f74bf7f6 sp ffdd9b34 error 4 in libc-2.24.so[f7441000+1af000] Segmentation fault

Re: [PATCH] fix "svnadmin create" fail on x86

2016-11-02 Thread Dengke Du
Sorry, it is my fault! Please ignore it, thanks! // Dengke On 2016年11月02日 16:56, Stefan wrote: Hi Dengke, On 11/2/2016 08:31, Dengke Du wrote: When run the following command on x86: svnadmin create /var/test_repo It cause segmentation fault error like the following: