Re: Apache proxy engineering specs

2007-09-10 Thread Phil Endecott
William A. Rowe, Jr. wrote: Shaw, Dan wrote: 1. Does a apache proxy server create stateful or stateless connection upon request? It might help to clarify right off that RFC 2616 defines HTTP/1.1 and prior as stateless protocols. Dan, maybe you mean persistent rather than stateful?

Re: mod_proxy: Is smax=0 allowed ?

2007-09-09 Thread Phil Endecott
Phil Endecott wrote: Phil Endecott wrote: I'm going to have another look at the source, and see whether I can change the sentinel value for smax not specified from 0 to -1, so that 0 can really mean zero. I have tried the following: Index: proxy_util.c

Re: mod_proxy: Is smax=0 allowed ?

2007-09-06 Thread Phil Endecott
Phil Endecott wrote: [EMAIL PROTECTED] wrote: Seems like you are right about the smax=0. Luckily for you, according to the documentation you may control the persistency of the backend connection with the environment variable proxy-nokeepalive Well, I can use that to switch of persistency

mod_proxy: Is smax=0 allowed ?

2007-09-04 Thread Phil Endecott
Dear Experts, According to the mod_proxy docs, parameters to ProxyPass include: smax max Upto the Soft Maximum number of connections will be created on demand. Any connections above smax are subject to a time to live or ttl. So, am I allowed to set smax=0 ? In my case,

Re: auth dbd pgsql issues

2007-08-25 Thread Phil Endecott
Chris Darroch wrote: Phil Endecott wrote: OK; my experience seems to be that in this respect 2.2.4 has regressed compared to 2.2.3 (though I may have been lucky in some way with my 2.2.3 setup) and certainly compared to 2.0.x + the 3rd-party mod_auth_pgsql. I don't know if this affects how

Re: auth dbd pgsql issues

2007-08-24 Thread Phil Endecott
Hi Chris, thanks for your reply. Chris Darroch wrote: Phil Endecott wrote: http://marc.info/?l=apache-httpd-usersm=118765132424174w=2 My guess is that I'm encountering the known issues with DBD described here: http://marc.info/?l=apache-httpd-devm=116742014418304w=2 Am I right in thinking

auth dbd pgsql issues

2007-08-21 Thread Phil Endecott
Dear Experts, I am trying to track down a broken postgresql authn issue which I have described here: http://marc.info/?l=apache-httpd-usersm=118765132424174w=2 My guess is that I'm encountering the known issues with DBD described here: http://marc.info/?l=apache-httpd-devm=116742014418304w=2

PostgreSQL authentication in 2.2; caching?

2007-07-08 Thread Phil Endecott
Dear Experts, A few days ago I posted a question with this subject on the users lists, but have got no replies: http://thread.gmane.org/gmane.comp.apache.user/69944 The summary is: - Currently I'm using 2.0 with a 3rd-party mod_auth_pgsql. - In 2.2 I would presumably use the core DB-backed

Compiling a C++ module with g++ on Solaris

2006-06-11 Thread Phil Endecott
Dear All, I'm the author of Anyterm (http://anyterm.org/) which uses an Apache module written in C++. This works OK on Linux. However, a user has attempted to compile it on Solaris and it fails at run time. Specifically, the first time that any C++ memory allocation stuff happens - it

Re: Accessing POST request body from a module

2006-02-03 Thread Phil Endecott
I am porting some CGI code to run as a module. It is all pretty straightforward, except that I can't work out how to get at a POST request's body. Thanks to Michael for this: while (ap_get_brigade(r-input_filters, brigade, AP_MODE_READBYTES, APR_BLOCK_READ, len) == APR_SUCCESS) {

Accessing POST request body from a module

2006-02-02 Thread Phil Endecott
Dear All, I am porting some CGI code to run as a module. It is all pretty straightforward, except that I can't work out how to get at a POST request's body. The CGI code reads from stdin, which doesn't seem to be the right thing to do in the module. I'm probably missing something obvious;

Re: AP_INIT_TAKE1 in 2.2 and C++

2005-12-10 Thread Phil Endecott
Thanks for the replies. The patch to ap_config.h that Joe Orton posted is reported to fix the problem. Can this be included in the next release? Cheers, --Phil.

AP_INIT_TAKE1 in 2.2 and C++

2005-12-08 Thread Phil Endecott
Dear All, I'm the author of Anyterm (http://anyterm.org), which includes an Apache module. Although I haven't yet tried to compile it for Apache 2.2 some of my users have, and they're having problems. See http://anyterm.org/forums/viewtopic.php?pid=768#p768. It looks as if the definition

mod_auth[nz]_dbd password caching

2005-12-03 Thread Phil Endecott
Dear All, First of all, congratulation on the release of 2.2. I use mod_auth_pgsql at http://anyterm.org/my.html, and found a problem earlier in the year. To get reasonable performance you need to use the module's caching mechanism, but this cache is not flushed or updated when the database

APR_FORCE_ATOMIC_GENERIC setting in Mandrake 10.1

2005-05-25 Thread Phil Endecott
Dear Apache Experts, I'm the author of Anyterm, an Apache2 module and Javascript thing that creates a box on a web page that behaves like a shell using XmlHttpRequest. (http://chezphil.org/anyterm/) I've had a couple of reports from Mandrake 10.1 users who have got the following error

Re: APR_FORCE_ATOMIC_GENERIC setting in Mandrake 10.1

2005-05-25 Thread Phil Endecott
Phil Endecott wrote: I've had a couple of reports from Mandrake 10.1 users who have got the following error while compiling: /home/bravo/tmp/ccqUjIBR.s: Assembler messages: /home/bravo/tmp/ccqUjIBR.s:30: Error: bad register name `%dil' My code uses apr_atomic_cas(). I've been investigating