Re: [jira] Commented: (MODPYTHON-74) Add a WSGI handler to support WSGI-based frameworks

2006-06-12 Thread Graham Dumpleton
On 12/06/2006, at 3:30 PM, Damjan Georgievski (JIRA) wrote: [ http://issues.apache.org/jira/browse/MODPYTHON-74? page=comments#action_12415819 ] Damjan Georgievski commented on MODPYTHON-74: - Also I'd suggest that some features are implemented

Re: Endless loop in split_on_bdry() of library/parser_multipart.c?

2006-06-12 Thread Bojan Smojver
On Sun, 2006-06-11 at 20:31 -0400, Joe Schaefer wrote: APR_RING_UNSPLICE(f, l, link); APR_RING_SPLICE_TAIL(out-list, f, l, apr_bucket, link); This is the right approach, I think. But the person who'd be in the best place to test/commit it is Bojan. Just be sure to

writing 2.x module thaty makes SSL connection

2006-06-12 Thread Lai Yiu Fai
I would like to write a module which make https connection and read the response. Are there any export functions in mod_ssl, mod_proxy ... etc that do the jobs? I have searched all APR_DECLARE_OPTIONAL_FN() and seems nothing related. So, should I go directly to OpenSSL calls or any APR SSL

Re: writing 2.x module thaty makes SSL connection

2006-06-12 Thread Graham Leggett
On Mon, June 12, 2006 2:24 pm, Lai Yiu Fai wrote: I would like to write a module which make https connection and read the response. Are there any export functions in mod_ssl, mod_proxy ... etc that do the jobs? I have searched all APR_DECLARE_OPTIONAL_FN() and seems nothing related. So,

Re: writing 2.x module thaty makes SSL connection

2006-06-12 Thread Lai Yiu Fai
Thanks but filter looks complicated to do a simple job. That module just requires to request a XML document via https. What would be the simply way to do that? Regards, -Fai On Mon, Jun 12, 2006 at 02:29:26PM +0200, Graham Leggett wrote: On Mon, June 12, 2006 2:24 pm, Lai Yiu Fai wrote:

Re: writing 2.x module thaty makes SSL connection

2006-06-12 Thread Graham Leggett
On Mon, June 12, 2006 4:31 pm, Lai Yiu Fai wrote: Thanks but filter looks complicated to do a simple job. It looks complicated, but it isn't when you get down to it. That module just requires to request a XML document via https. What would be the simply way to do that? Use mod_proxy_http

Re: writing 2.x module thaty makes SSL connection

2006-06-12 Thread Lai Yiu Fai
On Mon, Jun 12, 2006 at 04:43:36PM +0200, Graham Leggett wrote: On Mon, June 12, 2006 4:31 pm, Lai Yiu Fai wrote: Thanks but filter looks complicated to do a simple job. It looks complicated, but it isn't when you get down to it. That module just requires to request a XML document

Re: writing 2.x module thaty makes SSL connection

2006-06-12 Thread Plüm , Rüdiger , VF EITO
-Ursprüngliche Nachricht- Von: Graham Leggett Use mod_proxy_http to request the document, and configure mod_ssl to handle the SSL - there should be no need to write any code as far as I can see. I guess a subrequest with subrequest-filename starting with proxy: should do the

Re: writing 2.x module thaty makes SSL connection

2006-06-12 Thread Graham Leggett
On Mon, June 12, 2006 5:14 pm, Lai Yiu Fai wrote: How can an external module make use of mod_proxy_http to request the document? You create a subrequest to fire off the document request. mod_include uses this technique to include one URL inside another URL. It fires off a subrequest, which it

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

2006-06-12 Thread Henrik Nordstrom
sön 2006-06-11 klockan 18:17 +0100 skrev Phil Endecott: Is it possible that there is some libstdc++ initialisation that hasn't happened? I could imagine that this would require special support from the linker or the dlopen stuff, and that that behaves differently with Sun's libc and

Re: writing 2.x module thaty makes SSL connection

2006-06-12 Thread Paul Querna
Lai Yiu Fai wrote: Thanks but filter looks complicated to do a simple job. That module just requires to request a XML document via https. What would be the simply way to do that? It is overcomplicated. I recommend just using libcurl[1] or serf[2] as https client libraries. I have used

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

2006-06-12 Thread Jean-frederic Clere
Phil Endecott wrote: 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