Re: Should fastcgi be a proxy backend?

2006-03-06 Thread Sascha Schumann
Also, we tend to run most of our fastcgi's using a domain socket. I'm sure others do that as well. Isn't that very unreliable? Why should Unix domain sockets be unreliable? - Sascha

Re: apr/apr-util python dependence

2004-02-20 Thread Sascha Schumann
A shell script generating build-exports.mk is attached. The implementation lacks cyclic reference detection (some header files point to each other). This can be resolved by splitting the 2-3 header files though. - Sascha gen-build.sh Description: Bourne shell script

Re: apr/apr-util python dependence

2004-02-20 Thread Sascha Schumann
Please get your facts straight. httpd is still just as buildable on such platforms regardless of gen-build.py: from the release tarballs. Building from a CVS checkout cannot be done without extra tools, but that has always been true in 2.0: you need libtool and autoconf (not to

Re: apr/apr-util python dependence

2004-02-20 Thread Sascha Schumann
autoconf does not use perl. It has done since 2.50 AFAIK: from the README in 2.59: Fortunately, one can choose not to use the horrible autoconf 2.5x. The sane versions up to 2.13 don't require perl for buildconf'ing APR or httpd. - Sascha

Re: apr/apr-util python dependence

2004-02-20 Thread Sascha Schumann
On Fri, 20 Feb 2004, Patrick Welche wrote: On Fri, Feb 20, 2004 at 11:23:02AM +0100, Sascha Schumann wrote: A shell script generating build-exports.mk is attached. The implementation lacks cyclic reference detection (some header files point to each other). This can

Re: apr/apr-util python dependence

2004-02-18 Thread Sascha Schumann
The subject is whether Python can be required for running buildconf, not for running configure make. I don't see a problem requiring Python for buildconf. The problem with python is that it is an exotic language and hardly installed anywhere (not everyone runs Linux). Just

Re: apr/apr-util python dependence

2004-02-18 Thread Sascha Schumann
Automake is clearly not a choice, nor has it ever been for a project of considerable size. And recursive make clearly sucks -- the PHP project got rid of it 2 years ago. We agree on these points. It was also written in Python because it is *just* starting. That script will

Re: apr/apr-util python dependence

2004-02-18 Thread Sascha Schumann
As part of the configure process, I would agree with you, but as part of buildconf, I disagree--not everyone needs to run buildconf--only developers, and if you're a developer, it's *really* not asking that much to have Python on your dev box. That must be a wonderful world where you run

Re: apr/apr-util python dependence

2004-02-17 Thread Sascha Schumann
requiring automake is not something I personally would be excited about... I'd like to see how bad a conversion to ordinary sh would turn out.. also, I'd guess that a conversion to the less cool but more widely ported/precompiled/preinstalled P* scripting language would be a rather quick

mod_fastcgi

2003-10-25 Thread Sascha Schumann
Does anyone remember whether mod_fastcgi was ever included in the base Apache 1.x distribution and if so, why it was pulled? Background: External maintenance of mod_fastcgi has basically halted, community provided patches don't get applied etc. so finding a new home has

Re: closesocket() vs close()

2003-10-16 Thread Sascha Schumann
On Thu, 16 Oct 2003, Jim Jagielski wrote: Forwarded message: * Bugz: #22805 - Jim is working on a somewhat revised patch which also - uses closesocket() universally (instead of the places - where we do #ifdef BEOS...). Only the changes to buff.c - are

Re: sed magic in apr_common.m4 to source config.layout breaks onIRIX

2003-08-23 Thread Sascha Schumann
On Sat, 23 Aug 2003, Albert Chin wrote: There is some sed magic in apr_common.m4 to source config.layout. The first sed line is: I've fixed this in May but have not come around to commit it yet. See the attached patch. And no, I have no idea what the first sed expression is

Re: httpd-2.0.46 needs gcc_s? (on solaris 8)

2003-06-05 Thread Sascha Schumann
On Thu, 5 Jun 2003, harald deppeler wrote: Ok, I tried the CFLAGS=-static-libgcc trick, it didn't work for me. Did you verify that libtool passed the flag to the linker? You can achieve that by removing --silent from the respective Makefile. - Sascha

RE: story posted

2003-02-07 Thread Sascha Schumann
Rather than fix the TS issues in all the 3rd party libraries that can be used with PHP's and its extension its more pragmatic to sort out thread/filter issues in PHP core. The PHP project has been working on thread-safety since 1999. All core components and most extensions can be

Re: story posted

2003-02-06 Thread Sascha Schumann
I have Apache 2 and PHP running with no big problems so far. Two concurrent php script executions might not work at all, if you look at the code. Maybe I'll spent some time today on it and use fopencookie to create a proper stdio stream.. - Sascha

Re: story posted

2003-02-06 Thread Sascha Schumann
On Thu, 6 Feb 2003, Dmitri Tikhonov wrote: On Thu, Feb 06, 2003 at 06:51:06PM +0100, Sascha Schumann wrote: I have Apache 2 and PHP running with no big problems so far. Two concurrent php script executions might not work at all, I forgot to mention that I use preforking model

Re: story posted

2003-02-06 Thread Sascha Schumann
In any case, the mod_cgi solution gets us back to the same problem we've always had with PHP, which is that we can't buffer the entire input body w/o having a huge memory impact on multithreaded servers. (We would need to buffer it because of the way PHP expects to consume input data.)

Re: story posted

2003-02-06 Thread Sascha Schumann
is php re-entrant? or does it use globals/thread specific storage. if it does than php can not be used in a subrequest. It's not reentrant-safe and it uses TLS. - Sascha

Re: story posted

2003-02-06 Thread Sascha Schumann
On Thu, 6 Feb 2003, Dmitri Tikhonov wrote: On Thu, Feb 06, 2003 at 07:42:56PM +0100, Sascha Schumann wrote: On Thu, 6 Feb 2003, Dmitri Tikhonov wrote: On Thu, Feb 06, 2003 at 06:51:06PM +0100, Sascha Schumann wrote: I have Apache 2 and PHP running with no big problems so far

Re: story posted

2003-02-05 Thread Sascha Schumann
a) is PHP not production ready with Apache 2.0 because it was not high enough priority for PHP to be tested? The current Apache 2 support in PHP is based on filters only. That however is not well-supported by the scripting engine which prefers real file objects as input. The

Re: story posted

2003-02-05 Thread Sascha Schumann
So why not just do a handler-based PHP for 2.0, and work on other problems in the future. This is a silly family quarel that is making everyone look bad. We are looking forward to your contributions. Please apply for a CVS account here: http://www.php.net/cvs-php.php -

Re: [Patch] make buildconf work with out-of-tree apr and apu

2003-01-30 Thread Sascha Schumann
Grr and curses :-) /me makes note to find a box without gnu extensions and use that for testing :-) In configure.in, you can use echo $ac_n text$ac_c which will dynamically expand to the -n or \c form, as necessary. I suppose you could easily copy the necessary

1.3: make default .conf work with --disable-module=all

2003-01-24 Thread Sascha Schumann
Hi, does anyone see a problem with this patch? Index: httpd.conf-dist === RCS file: /home/cvs/apache-1.3/conf/httpd.conf-dist,v retrieving revision 1.82 diff -u -r1.82 httpd.conf-dist --- httpd.conf-dist 4 Nov 2002

Re: Solaris 8 + gcc 3.2.1 + libtool = fuckup...

2003-01-05 Thread Sascha Schumann
On Sun, 5 Jan 2003, Albert Chin wrote: On Sun, Jan 05, 2003 at 01:29:18AM +, Pier Fumagalli wrote: Now, gcc _correctly_ links any executable to the correct library libgcc.a automagically (if I call it from the command line), _but_ libtool is stupid, and assumes that when we want to

Re: Solaris 8 + gcc 3.2.1 + libtool = fuckup...

2003-01-04 Thread Sascha Schumann
Now, gcc _correctly_ links any executable to the correct library libgcc.a automagically (if I call it from the command line), _but_ libtool is stupid, and assumes that when we want to link a library, we can simply call ld automatically without caring about what GCC might have to say...

Re: cvs advice

2002-11-30 Thread Sascha Schumann
On Fri, 29 Nov 2002, Joshua Slive wrote: Just a quick question from someone with marginal cvs skills: Say I have a file checked out at HEAD, and I know that it is identical to the version at APACHE_2_0_BRANCH. Now I make a change, and I want to commit the changed file to both HEAD and the

doxygen output for httpd-2.0

2002-11-02 Thread Sascha Schumann
Hi, is the doxygen output online somewhere? It is great for referencing a certain pecularity of the httpd interface. The dev documentation does not mention it, unfortunately. http://httpd.apache.org/docs-2.0/developer/ Similarly, the apr-util documentation does not

Re: c-client's thread-safeness

2002-08-16 Thread Sascha Schumann
This is a particularly interesting case as Mark is pretty adamant that strtok() and gethostbyname() should be thread-safe and the fact that it isn't on most platforms doesn't persuade him to use strtok_r() or gethostbyname_r() if available. (Not that I disagree with him here - these

Re: PHP profiling results under 2.0.37 Re: Performance of Apache2.0 Filter

2002-06-07 Thread Sascha Schumann
The function php_apache_sapi_ub_write() is inserting a flush bucket after each bucket of data that it adds to the output brigade. The 'ub' stands for unbuffered.. you can avoid that by enabling output buffering in php.ini. - Sascha

Re: PHP profiling results under 2.0.37 Re: Performance of Apache2.0 Filter

2002-06-07 Thread Sascha Schumann
IMHO, that's a design flaw. Regardless of whether PHP is doing buffering, it shouldn't break up blocks of static content into small pieces--especially not as small as 400 bytes. While it's That sounds like the input size of the lexer which is a part which I'm not particularly proud

Re: cvs commit: httpd-2.0/support apachectl.in

2002-05-27 Thread Sascha Schumann
-0.9. Whoever said we were deprecating them? I thought the plan was that apachectl would continue to accept 'start|stop|restart' and would pass them as 'httpd -k $ARGV' to Apache. That is what apachectl does currently. Yes, you *could* say apachectl -k start with the new code and it

Re: Compiling apache2 against glibc 2.2.5

2002-03-08 Thread Sascha Schumann
My binaries are portable, and that doesn't seem to be a problem. I'm trying to gather information as I continue to try to chase down the php4.2-dev + apache2 issue on this target platform. Note that portable (as in can be used on various Linux distributions) programs should be built

Re: Latest CVS on Solaris 8 - configure's cache-file problems

2002-03-06 Thread Sascha Schumann
On Wed, 6 Mar 2002, Jim Jagielski wrote: Yep... Looks like it's no problem with 2.52. Anyone have hearburn if I adjust buildcheck.sh to make 2.52 the new requirement? IIRC 2.52 still produces a non-portable case..esac statement which fails on FreeBSD. If this issue happens with

Re: building 2.0.32 on Darwin

2002-02-19 Thread Sascha Schumann
On Tue, 19 Feb 2002, Pier Fumagalli wrote: Jim Jagielski [EMAIL PROTECTED] wrote: It appears to me that we are running into a *lot* of problems in (GNU)libtool on OS X and that the libtool guys would appreciate the feedback. Yet, it appears that stuff sent to them never gets included

Re: Run-time linking paths via LDFLAGS on Linux with gcc.

2002-01-07 Thread Sascha Schumann
This is a complete Catch-22. The question is what to do about it. I have some ideas, but I'd like to hear what other people think. I'll outline what PHP is doing quite successfully in this area. The described method allows you to build native objects as well as libtool objects

Re: Running Apache in the foreground

2002-01-05 Thread Sascha Schumann
On Sat, 5 Jan 2002, Jos Backus wrote: On Fri, Jan 04, 2002 at 11:52:26PM -0800, Jos Backus wrote: On Fri, Jan 04, 2002 at 09:26:46PM -0800, Justin Erenkrantz wrote: Yeah, this seems to be a bug in autoconf because this is not portable /bin/sh code. IIRC, all cases must have an action

Re: cvs commit: httpd-2.0/modules/experimental config.m4

2001-12-10 Thread Sascha Schumann
On Mon, 10 Dec 2001, Greg Stein wrote: I don't understand why an include doesn't go onto the INCLUDES variable. Why the shift? I suppose that the include directive is immediately needed for an autoconf cpp check. Autoconf calls the preprocessor with CPPFLAGS, not INCLUDES, and

Re: server reached MaxClients setting

2001-09-20 Thread Sascha Schumann
On Thu, 20 Sep 2001, Jim Jagielski wrote: At 11:33 AM -0300 9/20/01, Daniel Abad wrote: Is it really a problem??? Or just warning? [Thu Sep 20 00:28:53 2001] [error] server reached MaxClients setting, consider raising the MaxClients setting No doubt, you are getting hammered by Nimba

Re: so modules, libtool and position independent code

2001-09-13 Thread Sascha Schumann
Depends on the platform. You cannot link non-PIC code with PIC code on HP-UX. Yes, I was speaking in the context of FreeBSD where the person I was replying to had specific problems. - Sascha Experience IRCG http://schumann.cx/

Re: so modules, libtool and position independent code

2001-09-12 Thread Sascha Schumann
First - I don't understand why it works, since libpython is not PIC (-fpic is not used when compiling). From reading what I could find on the subject, it's supposed to crash miserably. You can use non-PIC code in shared libraries with the disadvantage that pages cannot be shared