ApacheCon NA 2010 HTTP Server Track Call for Participation

2010-03-22 Thread Sander Temme
ember 1-5, 2010: ApacheCon NA 2010 We look forward to seeing you in Atlanta! Sander Temme Apache HTTP Server Track Coordinator -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (Darwin) iQIcBAEBAgAGBQJLpxTlAAoJEJu4Y7D1G7iKB64QAKNCzqAor7FYgGZ6pOQfx1Ww 23BnJ8T2TWoMjav31McX7GgMaZK9b5

Re: multiple processes: but one module init needed

2009-01-25 Thread Sander Temme
module to avoid reallocating certain items. Do I have to do IPC between my modules (to figure out if the currently loaded module is in the *first* of the spawend processes)? No, just put your init code in the right hook. S. -- Sander Temme scte...@apache.org PGP FP: 51B4 8727 466A 0BC3 69F4

Re: Why is r->handler a garbled string?

2008-12-30 Thread Sander Temme
e? (And I think I have seen this same problem on amd64 Ubuntu, but I still need to confirm that...) Definitely interesting. Maybe even for the same reasons, although we shouldn't assume that. Thanks, S. -- Sander Temme scte...@apache.org PGP FP: 51B4 8727 466A 0BC3 69F4 B7B8 B2BE

Re: Why is r->handler a garbled string?

2008-12-29 Thread Sander Temme
or Intel?) etc. Perhaps set some breakpoints and see if the handler field is ever intact and where it gets clobbered. S. -- Sander Temme scte...@apache.org PGP FP: 51B4 8727 466A 0BC3 69F4 B7B8 B2BE BC40 1529 24AF smime.p7s Description: S/MIME cryptographic signature

Re: Why is r->handler a garbled string?

2008-12-29 Thread Sander Temme
P \xfa&\b\x0c" Interesting. What's your locale? echo $LANG in the shell that starts Apache? S. -- Sander Temme scte...@apache.org PGP FP: 51B4 8727 466A 0BC3 69F4 B7B8 B2BE BC40 1529 24AF smime.p7s Description: S/MIME cryptographic signature

Re: process initialisation in prefork-MPM

2008-12-22 Thread Sander Temme
o the data structures from any potentially threaded situation. If you want to be able to run multithreaded, you can mutex access to the globals. If you want to decide at runtime, you can find out if you're threaded using ap_mpm_query(). S. -- Sander Temme scte...@apache.org PGP FP:

Re: Howto implement a new algorithm scheduler in mod_proxy_balancer

2008-11-19 Thread Sander Temme
at be an external program or something forked from the httpd parent doesn't matter, as long as they (are allowed to) attach to the same shared memory segment. S. -- Sander Temme [EMAIL PROTECTED] PGP FP: 51B4 8727 466A 0BC3 69F4 B7B8 B2BE BC40 1529 24AF smime.p7s Descripti

Re: Unable to build for some stupid reason

2008-09-11 Thread Sander Temme
se, the scripts are stupid, not yourself. S. -- Sander Temme [EMAIL PROTECTED] PGP FP: 51B4 8727 466A 0BC3 69F4 B7B8 B2BE BC40 1529 24AF smime.p7s Description: S/MIME cryptographic signature

Re: Emacs lore for Apache?

2008-07-03 Thread Sander Temme
ntro' ++) (c-set-offset 'inextern-lang' 0) ))) (setq c++-mode-hook c-mode-hook) (setq-default indent-tabs-mode nil) I have this in my ~/.emacs. S. -- Sander Temme [EMAIL PROTECTED] PGP FP: 51B4 8727 466A 0BC3 69F4 B7B8 B2BE BC40 1529 24AF smime.p7s Description: S/MIME cryptographic signature

Re: Is there are any way to know if the request is regular (http) or SSL (https) in a module?

2007-12-17 Thread Sander Temme
y late in the request processing process. You could call ap_http_scheme(r) to run the request scheme hook, which will return "https" if SSL is disabled or optional on the vhost that accepted the request. S. -- Sander Temme [EMAIL PROTECTED] PGP FP: 51B4 8727 466A 0BC3 69F4 B

Re: why is my module being called for all pages?

2007-08-12 Thread Sander Temme
called, so keep the code path used to decline handling as short as possible. S. -- Sander Temme [EMAIL PROTECTED] PGP FP: 51B4 8727 466A 0BC3 69F4 B7B8 B2BE BC40 1529 24AF smime.p7s Description: S/MIME cryptographic signature

Re: APR global mutexes and threads

2007-08-09 Thread Sander Temme
On Jun 22, 2007, at 7:07 AM, César Leonardo Blum Silveira wrote: Do global mutexes work for ensuring mutual exclusion for threads? Yes. If you look at the source code, you'll see that the global mutexes cover both inter-thread and inter-process locking. S. -- Sander Temme [

Re: Child pool not usable for logging

2007-05-06 Thread Sander Temme
On May 5, 2007, at 11:42 AM, Joachim Zobel wrote: ap_log_perror(APLOG_MARK, APLOG_DEBUG, 0, p_cur, "xml2_free will free %x.", mem); Stupid question: is your LogLevel set to debug? In any case, the stderr fd gets switched to the error log file, so any printf() and re

Re: Is SSL by default enabled in Apache?

2007-03-29 Thread Sander Temme
Souramita, This is not really a topic for discussion on the modules development list: it has a better place on [EMAIL PROTECTED] On Mar 29, 2007, at 10:43 PM, Souramita Sen wrote: When I run apache server in windows/Linux, does it support secure connection by default ( i.e can I do https:

Re: New to module development

2007-03-21 Thread Sander Temme
On Mar 14, 2007, at 10:43 PM, Souramita Sen wrote: One small doubt. httpd version installed in my system is 2.2 and the latest version of httpd-devel i got is also 2.2. But latest version of apr-devel(2.0) and apr-util-devel(0.9) are not in sync with corresponsing httpd version. Is there an

Re: diagram of server phases

2006-12-19 Thread Sander Temme
On Dec 19, 2006, at 5:17 AM, Nick Kew wrote: Maybe there is a way to get this by scanning through the headers or through the source code? How would I determine the order? There is a page somewhere in the developer docs @apache.org that gives the order of hooks. There's also an element of le

Re: Shared memory

2006-11-24 Thread Sander Temme
On Nov 24, 2006, at 7:58 AM, Christiaan Lamprecht wrote: typedef struct { char* variable1; char* variable2; } ASSLFilter; apr_shm_create(&assl_shm, sizeof(ASSLFilter) * 20, (const char *) shmfilename, pconf); <..> Can I make use of shm to extend the memory for each char* in the str

Re: Who is Representing Apache?

2006-11-06 Thread Sander Temme
Hi Brian, Thank you for your thoughts. I am Cc-ing on this response the Apache Software Foundation Public Relations Team. They may choose to chime in if they think this necessary. I cannot speak for the foundation, but as a contributor to the Apache HTTP Server project I am delighted to h

Re: How to detect at runtime if this is a prefork or threaded server?

2006-10-13 Thread Sander Temme
On Oct 13, 2006, at 11:10 AM, Roland Genske wrote: is it possible for a module to detect at runtime whether it runs in a "prefork" server or in a "worker" (threaded) server? Our module must behave differently depending on this. Check out ap_mpm_query(), defined in ap_mpm.h. It can tell you