Re: Fwd: request scheduling ?

2003-11-21 Thread Aaron Bannert
On Sat, Nov 22, 2003 at 01:23:24AM +, Haskell Curry wrote: > How does the apache do the request scheduling !? > does the child do the scheduling or apache let it for the threads !? Scheduling is currently always left up to the operating system, whether you are on a prefork MPM or the worker (t

Re: MaxClients as shared memory

2003-11-21 Thread Aaron Bannert
On Sat, Nov 22, 2003 at 01:56:11AM +0100, David Herrero wrote: > > Hello, i need to do the global variable as shared memory which > can be modificated in executing time by child process. Well, i want to > know what is the better way, including MaxClients in the Scoreboard or > created a shar

Proper handling of headers on 304s...

2003-11-21 Thread Paul J. Reder
PR 24884 points out an issue I was already working on for other reasons. An initial request for a file (say a gif file) which has an ExpiresByType specified for it (image/gif A300) receives an Expires header in the response. Subsequent requests with an If-Modified-Since and/or If-None-Match reques

Re: cvs commit: httpd-2.0/modules/metadata mod_expires.c

2003-11-21 Thread Paul J. Reder
Ooops, I didn't see the second one and the first was similar to the one I came up with to resolve PR 24459. Sure, I'll change it to the second solution. I agree that it is a better solution. André Malo wrote: * [EMAIL PROTECTED] wrote: Index: mod_expires.c ==

Fwd: request scheduling ?

2003-11-21 Thread Haskell Curry
How does the apache do the request scheduling !? does the child do the scheduling or apache let it for the threads !? Haskell for fun. haskell.org _ MSN Messenger: converse com os seus amigos online. http://messenger.msn.com.br

Re: Threads in a module

2003-11-21 Thread Sander Temme
> Sonry, i don't write in english very well, when you do a programm which > uses threads you must compile with: > > gcc example1.c -o example.out -lpthread > > My question is when i compile the apache sources, with make, make all > and make install, where i must indicate the option -lpthread. > I

RE: Threads in a module

2003-11-21 Thread David Herrero
Sonry, i don't write in english very well, when you do a programm which uses threads you must compile with: gcc example1.c -o example.out -lpthread My question is when i compile the apache sources, with make, make all and make install, where i must indicate the option -lp

Re: Threads in a module

2003-11-21 Thread Sander Temme
Hey David, A question like yours is probably better asked on the apache-modules list. You can get on that by sending an empty mail to [EMAIL PROTECTED] > Hello, i'm trying to do a module that creates a thread with > pthread_create(...), and this thread open a socket. Well, i compile all > the sou

MaxClients as shared memory

2003-11-21 Thread David Herrero
Hello, i need to do the global variable as shared memory which can be modificated in executing time by child process. Well, i want to know what is the better way, including MaxClients in the Scoreboard or created a shared memory to this variable. Thanks

Threads in a module

2003-11-21 Thread David Herrero
Hello, i'm trying to do a module that creates a thread with pthread_create(...), and this thread open a socket. Well, i compile all the source of apache with my module, and when i try to open the comunication with the socket there isn't conection. I try to do it in a simple C programm and

Re: cvs commit: httpd-2.0/modules/metadata mod_expires.c

2003-11-21 Thread André Malo
* [EMAIL PROTECTED] wrote: > Index: mod_expires.c > === > RCS file: /home/cvs/httpd-2.0/modules/metadata/mod_expires.c,v > retrieving revision 1.46 > retrieving revision 1.47 > diff -u -r1.46 -r1.47 > --- mod_expires.c

Re: Patch management

2003-11-21 Thread Stas Bekman
Jeff Trawick wrote: Stas Bekman wrote: Jeff Trawick wrote: - make sure that the PR # is in the subject of any on-list discussion of the patch Why not automate this process. Change bugzilla to do the job and autogenerate the right link: mailto:[EMAIL PROTECTED]">Post the patch to the httpd-d

RE: Regarding Apache 2.0.48 and specweb99

2003-11-21 Thread MATHIHALLI,MADHUSUDAN (HP-Cupertino,ex1)
Oh.. BTW I hope you're also using worker MPM . -Madhu >-Original Message- >From: MATHIHALLI,MADHUSUDAN (HP-Cupertino,ex1) [mailto:[EMAIL PROTECTED] >Sent: Friday, November 21, 2003 2:58 PM >To: '[EMAIL PROTECTED]' >Cc: [EMAIL PROTECTED] >Subject: RE: Regarding Apache 2.0.48 and specweb99

RE: Regarding Apache 2.0.48 and specweb99

2003-11-21 Thread MATHIHALLI,MADHUSUDAN (HP-Cupertino,ex1)
Hmmn. Interesting. 1. Did you include the cgid restart fix ? 2. Are you driving the server with the SPECweb99 recommended CGI load ? 3. do you mind posting the httpd.conf -Madhu >-Original Message- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] >Sent: Friday, November 21, 2003 1:50 P

Re: Regarding Apache 2.0.48 and specweb99

2003-11-21 Thread gregames
MATHIHALLI,MADHUSUDAN (HP-Cupertino,ex1) wrote: Hi Greg, The recent set of discussions prompted me to get some Apache numbers out there - and when I started with the SPECweb99 run, I experienced a major hang in the Apache, and the cgid daemon getting killed (I don't know how). Have you also

Re: Regarding Apache 2.0.48 and specweb99

2003-11-21 Thread gregames
MATHIHALLI,MADHUSUDAN (HP-Cupertino,ex1) wrote: cgid should _never_ exit without something in the error log. I tried attaching tusc to the cgi daemon - but since the daemon dies at a random time, my log file was getting too full, and I had to just stop it. Why not just let tusc write to a cons

RE: Regarding Apache 2.0.48 and specweb99

2003-11-21 Thread MATHIHALLI,MADHUSUDAN (HP-Cupertino,ex1)
.. added a snipped of the cgi.log that I got after that daemon exited. -Madhu >-Original Message- >From: MATHIHALLI,MADHUSUDAN (HP-Cupertino,ex1) [mailto:[EMAIL PROTECTED] >Sent: Friday, November 21, 2003 11:06 AM >To: '[EMAIL PROTECTED]' >Cc: [EMAIL PROTECTED] >Subject: RE: Regarding Apa

RE: Regarding Apache 2.0.48 and specweb99

2003-11-21 Thread MATHIHALLI,MADHUSUDAN (HP-Cupertino,ex1)
>-Original Message- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] [SNIP] >cgid should _never_ exit without something in the error log. >That makes it >sound like a core problem, i.e. ap_process_child_status() or a >signal handler is >fubar, in addition to whatever made the cgi d

request scheduling ?

2003-11-21 Thread Haskell Curry
How does the apache do the request scheduling !? does the child do the scheduling or apache let it for the threads !? Haskell for fun. haskell.org _ MSN Messenger: converse com os seus amigos online. http://messenger.msn.com.br

Re: 2.0.48 build on MacOS X 10.3 ?

2003-11-21 Thread Justin Erenkrantz
--On Thursday, November 20, 2003 2:36 PM +0100 Henri Gomez <[EMAIL PROTECTED]> wrote: Did someone succeed to build 2.0.48 on MacOS X 10.3 (Jaguar) ? ... ld: warning multiple definitions of symbol _regcomp /Users/hgo/httpd-2.0.48/srclib/pcre/.libs/libpcre.al(pcreposix.lo) definition of _regcomp in

Re: [PATCH] NO_USE_SIGACTION - no use undecorated names

2003-11-21 Thread Jeff Trawick
William A. Rowe, Jr. wrote: Well here's the patch... enjoy +1

Re: Patch management

2003-11-21 Thread Jeff Trawick
Stas Bekman wrote: Jeff Trawick wrote: - make sure that the PR # is in the subject of any on-list discussion of the patch Why not automate this process. Change bugzilla to do the job and autogenerate the right link: mailto:[EMAIL PROTECTED]">Post the patch to the httpd-dev list] In that bul

Re: Patch management

2003-11-21 Thread Stas Bekman
Jeff Trawick wrote: It's great to see that things are happening, Jeff! The people issues are at least: a) making sure patches submitted on the mailing list are in the db, by prodding the submitter to consult some on-line doc that describes the requirements for submitting a patch - get the sty

Re: Include Directive using CDSL's on Tru64 Cluster

2003-11-21 Thread André Malo
* "Loveridge, Shanon" <[EMAIL PROTECTED]> wrote: > > The code is using !ap_is_rdirectory to check that it is a dir but not a > > symlink (NOTE this is not true for the ErrorLog directive which allows a > > CDSL to be set) Yes, this is to prevent infinite loops caused by cyclic symlinks. In fact .