Re: Debugging a module that works in homebrew's httpd24 but not OSX's preinstalled one

2016-01-11 Thread Jim Jagielski
If the module is not using the exact same APR lib (ie, 1.4.x instead of 1.5.x) then you could easily get this to happen. > On Jan 11, 2016, at 2:38 PM, Andy Li wrote: > > Hi, > > I'm developing (updating) mod_neko , a > module that let users to use the Neko VM

Re: apr_shm_create succeeds then fails on Mac OS X

2015-12-28 Thread Jim Jagielski
eate(). > > Regards, > Yann. > > On Mon, Dec 28, 2015 at 2:56 PM, Jim Jagielski wrote: >> Looks like the module is not cleaning up and removing the shared memory >> segment during a shutdown and/or restart. >> >>> On Dec 28, 2015, at 8:43 AM, Tapple Gao

Re: apr_shm_create succeeds then fails on Mac OS X

2015-12-28 Thread Jim Jagielski
442Gi 353Gi 89Gi80% 92513182 >> 23266901 80% /Volumes/Shared >> localhost:/18XTcmWVPTgvjvav7dUs5F 184Gi 184Gi0Bi 100%0 >> 0 100% /Volumes/MobileBackups >> >> >>> On Dec 27, 2015, at 4:18 PM, Jim Jagie

Re: apr_shm_create succeeds then fails on Mac OS X

2015-12-27 Thread Jim Jagielski
Are you *sure* that /tmp really has enough space? > On Dec 27, 2015, at 8:47 AM, Sorin Manolache wrote: > > On 2015-12-25 19:36, Tapple Gao wrote: >> Hi. I’m trying to get mod_tile working on the builtin apache in Mac OS X El >> Capitan. I am running into a problem with apr_shm_create failing t

important message

2015-10-21 Thread Jim Jagielski
Hello! New message, please read <http://buydomainsforcheap.com/share.php?2lqb7> Jim Jagielski

Re: tcp/ip sockets in apache module

2014-06-09 Thread Jim Jagielski
It seems that the connect and websocket mod_proxy sub-modules in 2.4.x would form a baseline for your module. On May 23, 2014, at 1:27 PM, Jeremy Thompson wrote: > I'm trying to write a module for apache. I've successfully compile in a > test module that doesn't do a whole lot yet. I would like

Re: Apache Buckets and Brigade

2013-05-01 Thread Jim Jagielski
How is that different from mod_substitute and/or mod_sed? On May 1, 2013, at 9:22 AM, Joshua Marantz wrote: > I have a crazy idea for you. Maybe this is overkill but this sounds like > it'd be natural to add to mod_pagespeed as a new > filter. > > Here's some code you

Re: lbmethod and TCP header

2013-01-09 Thread Jim Jagielski
httpd and APR don't provide that data... For httpd, it's all at the protocol layer (HTTP). On Jan 7, 2013, at 1:10 PM, Ruben Campos wrote: > Hello everybody, > > I'm part of a project that involves creating a new loadbalancer method for > the proxy module's balancer. > Following the round robin

Re: modules.a.o live on ASF hardware

2011-07-15 Thread Jim Jagielski
woot! On Jul 15, 2011, at 4:18 AM, Mark Thomas wrote: > The https://modules.apache.org service went live on ASF hardware yesterday. > > Now notifications are going to a public mailing list, I need to tweak > the mail output to since it currently includes full e-mail addresses. > Until I get those

Re: creating reverse proxy workers dynamically

2011-07-08 Thread Jim Jagielski
Look at the new mod_proxy_express module in trunk... On Jul 7, 2011, at 1:19 AM, Jodi Bosa wrote: > Hi, > > It seems I may need to create HTTPS reverse proxy workers DYNAMICALLY - what > is best way to do this? > > In other words, from manual I see config directive: > >ProxyPass /example h

Re: Help with apr mutex

2011-02-28 Thread Jim Jagielski
Why not check the return status of the lock and unlock calls?? On Feb 28, 2011, at 12:26 PM, Simone Caruso wrote: > Hi all, > > I wrote a simple cache inside my module with apr_shm and apr_rmm, but I have > problems with apr mutex... > > I have this peace of code: > > static apr_global_mutex_

Re: I don't understand apr_array_push

2011-01-26 Thread Jim Jagielski
On Jan 26, 2011, at 10:28 AM, Simone Caruso wrote: > > Now i need to read the array (i read mod_alias.c): >for(k = 0; k < reqc->aliases->nelts ; k++){ >alias = (alias_t *)&reqc->aliases->elts[k]; >isalias = alias_matches(r->uri, alia

Re: Shared memory ?

2010-11-15 Thread Jim Jagielski
With 2.3/trunk you have mod_socache and/or mod_slotmem (with shared memory). socache implements a shared memory based expiring cache and slotmem is a scoreboard-like shared memory impl. On Nov 15, 2010, at 11:12 AM, Rémy Sanchez wrote: > > Hi, > > I'm coding a module to somehow replace/complem

Re: maintaining sessions among multiple processes

2009-10-02 Thread Jim Jagielski
On Oct 2, 2009, at 7:52 AM, martin nylin wrote: hi i'm using apache 2.2 mpm-worker and have noticed that incoming requests are dispatched to apache processes in a way that makes it hard for me to maintain sessions in my module. i'm using the user field of the request_rec as session key and wou

Re: Unit testing

2008-12-12 Thread Jim Jagielski
Look at the httpd-test/framework package: http://svn.apache.org/viewvc/httpd/test/framework/trunk/ On Dec 12, 2008, at 8:54 AM, Kevac Marko wrote: Hello. What is the best way to write unit tests for C apache modules? Maybe some frameworks? -- С уважением, Кевац Марко Sincerely yours,

Re: Howto implement a new algorithm scheduler in mod_proxy_balancer

2008-10-23 Thread Jim Jagielski
ore like the kind of a task you would want to use at least an external process, if not a separate physical machine for. Basically, you are looking for an intelligent load balancer, correct? Thanks, Rick Houser Auto-Owners Insurance Systems Support (517)703-2580 -Original Message-

Re: Howto implement a new algorithm scheduler in mod_proxy_balancer

2008-10-22 Thread Jim Jagielski
as a URL to check it out via svn. Regards, Rainer Jim Jagielski wrote: Not sure what the question is... is it how to test your algo or how to implement it? There is a quick-and-dirty example submodule in trunk (under modules/ proxy/examples) that give some basic overview. On Oct 2