Re: Compiling httpd module for Windows

2015-05-22 Thread Jeff Trawick
On Fri, May 22, 2015 at 3:15 PM, Paul Klinkenberg p...@ongevraagdadvies.nl wrote: Hi list members, I created a simple httpd module in C, called mod_cfml. It is a port of a Perl-based one, which was written by Jordan Michaels. I teamed up with him to do some updates and do the port. -

Re: mod_fcgid: WIN32 compile-error and problem with slepp for 1 second

2015-04-22 Thread Jeff Trawick
Hello Michael, This is a mailing list for developers of plug-in modules for httpd. us...@httpd.apache.org and d...@httpd.apache.org are better choices. (I guess these two topics are code-related so dev@ is the best choice.) But see below. (If further discussion is needed outside of the

Re: Best practice for handling synchronous signals SIGFPE etc

2015-04-20 Thread Jeff Trawick
On 04/20/2015 03:50 PM, Mark Taylor wrote: I found that ./server/mpm_unix.c is registering a handler (sig_coredump) for SIGFPE, SIGSEGV, and other synchronous signals. I'd like to handle at least these two in my module, using my own handler. But then how do I determine if the the handler is

Re: apr_file_open

2014-12-25 Thread Jeff Trawick
On Thu, Dec 25, 2014 at 2:08 AM, Alan Nilsson anils...@apple.com wrote: Do files opened with apr_file_open get closed as part of the pool clean up? alan yes -- Born in Roswell... married an alien... http://emptyhammock.com/

Re: Apache module development on Mac OS X

2014-06-17 Thread Jeff Trawick
On Tue, Jun 17, 2014 at 8:44 AM, Sindhi Sindhi sindhi@gmail.com wrote: Thankyou Nick. Actually I was looking at options to build the Apache module on systems where Apache server is not installed (and hence apxs is not available), so that the module can be built on such build machines

Re: tcp/ip sockets in apache module

2014-05-23 Thread Jeff Trawick
On Fri, May 23, 2014 at 1:27 PM, Jeremy Thompson jer...@warehousesports.com 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 to be able to use tcp/ip sockets in the module to talk to another server. I

Re: tcp/ip sockets in apache module

2014-05-23 Thread Jeff Trawick
httpd normally and attach to the httpd child process from the Visual Studio IDE in order to debug. On 5/23/14 10:41 , Jeff Trawick traw...@gmail.com wrote: On Fri, May 23, 2014 at 1:27 PM, Jeremy Thompson jer...@warehousesports.com wrote: I'm trying to write a module for apache

Re: Apache 2.4.4 - undefined symbol: ap_log_rerror

2013-04-02 Thread Jeff Trawick
On Tue, Apr 2, 2013 at 3:21 AM, Ian B porj...@yahoo.com.au wrote: ap_log_rerror is part of the core libraries, see: http://ci.apache.org/projects/**httpd/trunk/doxygen/group__** APACHE__CORE__LOG.htmlhttp://ci.apache.org/projects/httpd/trunk/doxygen/group__APACHE__CORE__LOG.html so I think

Re: apr_memcache operation timeouts

2013-03-14 Thread Jeff Trawick
On Tue, Mar 12, 2013 at 1:56 PM, Jeff Trawick traw...@gmail.com wrote: On Mon, Mar 11, 2013 at 3:50 PM, Joshua Marantz jmara...@google.com wrote: ping! Please don't hesitate to push back and tell me if I can supply the patch or update in some easier-to-digest form. In particular, while I

Re: apr_memcache operation timeouts

2013-03-12 Thread Jeff Trawick
! -Josh On Wed, Oct 17, 2012 at 8:16 PM, Jeff Trawick traw...@gmail.com wrote: On Wed, Oct 17, 2012 at 3:36 PM, Joshua Marantz jmara...@google.com wrote: Is there a mechanism to time out individual operations? No, the socket connect timeout is hard-coded at 1 second

Re: Forcing Apache to exit on startup

2012-10-22 Thread Jeff Trawick
On Mon, Oct 22, 2012 at 4:05 PM, Sorin Manolache sor...@gmail.com wrote: On 2012-10-22 21:29, Joshua Marantz wrote: Hi, Our module has multiple confirmation parameters. There is a case where if you have option A and option B, then you must also specify option C, otherwise Bad things can

Re: apr_memcache operation timeouts

2012-10-17 Thread Jeff Trawick
On Wed, Oct 17, 2012 at 3:36 PM, Joshua Marantz jmara...@google.com wrote: Is there a mechanism to time out individual operations? No, the socket connect timeout is hard-coded at 1 second and the socket I/O timeout is disabled. Bugzilla bug

Re: Accessing environment variables set by other modules

2012-10-01 Thread Jeff Trawick
On Mon, Oct 1, 2012 at 7:34 AM, Christoph Gröver gro...@sitepark.com wrote: Hello Daniel, Just a quick suggestion; Have you tried r-user ? Tak! Really a good suggestion. r-user is set if it's run in the fixup hook. I still would like to know if it's possible to access variables set by

Re: aprmemcache question

2012-09-27 Thread Jeff Trawick
On Thu, Sep 27, 2012 at 10:58 AM, Ben Noordhuis i...@bnoordhuis.nl wrote: On Thu, Sep 27, 2012 at 4:29 PM, Joshua Marantz jmara...@google.com wrote: Thanks Ben, That might be an interesting hack to try, although I wonder whether some of our friends running mod_pagespeed on FreeBSD might run

Re: aprmemcache question

2012-09-27 Thread Jeff Trawick
On Thu, Sep 27, 2012 at 11:15 AM, Joshua Marantz jmara...@google.com wrote: On Thu, Sep 27, 2012 at 10:58 AM, Ben Noordhuis i...@bnoordhuis.nl wrote: If dlsym() is called with the special handle NULL, it is interpreted as a reference to the executable or shared object from which the call

Re: aprmemcache question

2012-09-26 Thread Jeff Trawick
On Wed, Sep 26, 2012 at 5:38 PM, Joshua Marantz jmara...@google.com wrote: Hi, I've been having some success with the apr_memcache_* functions. In load-tests, however, I'm finding a lot of timeouts with apr_memcache_multgetp. Specifically, the status returned with the individual elements

Re: aprmemcache question

2012-09-26 Thread Jeff Trawick
, for some value of x. How should I work this in my code? Should I query the version number using an apr utility or something and multiply by a million in certain cases? What's the best practice calling this function for module developers? -Josh On Wed, Sep 26, 2012 at 6:20 PM, Jeff Trawick traw