module and threads

2002-11-26 Thread Henri Gomez
Hi to all, I'll need to write a custom Apache 2.0 module for an in-house project and need some informations on threads support. The module should create some threads at startup time, these threads will handle dbm and IO operations and they should be kept running after the module initialisation.

Re: cvs commit: httpd-2.0 STATUS

2002-11-26 Thread Roy T. Fielding
On Monday, November 25, 2002, at 04:58 PM, Aaron Bannert wrote: I guess I just didn't read that much in to it. I just want to see us move forward without getting bogged down in misinterpreted emails and already acknowledged mistakes, and to do that I'm trying to stay objective (eg. a Vote). To

MPM perchild againg

2002-11-26 Thread Enrico Weigelt
hi folks, it seems that under some circumstances the messages for connection passing between childs are not received at the destination process. sometimes it also happened, that apr_poll() returned w/o error, but scan through the listener list does not find the touched socket. perhaps there's

ap_log_printf

2002-11-26 Thread LETERRIER Hervé
Dou you know, which are the apaches functions, same as netscapes functions system_fopenWA, system_fwrite_atomic and system_fclose ? (opening writing and closing the log file for simultaneously request, without conflicts). Thanks for your reponse. Dr Herve Leterrier.

Re: ap_log_printf

2002-11-26 Thread Jeff Trawick
LETERRIER Hervé [EMAIL PROTECTED] writes: Dou you know, which are the apaches functions, same as netscapes functions system_fopenWA, system_fwrite_atomic and system_fclose ? (opening writing and closing the log file for simultaneously request, without conflicts). I don't know anything about

Re: trouble w/ perchild MPM

2002-11-26 Thread Jeff Trawick
Enrico Weigelt [EMAIL PROTECTED] writes: i've got some trouble with the perchild MPM in httpd-2.0.43. Especially forwarding connections to other childs seems to be a little bit buggy. an little bug in receive_from_other_child() was: iov[0].iov_base = headers; iov[0].iov_len =

Re: module and threads

2002-11-26 Thread Jeff Trawick
Henri Gomez [EMAIL PROTECTED] writes: The module should create some threads at startup time, these threads will handle dbm and IO operations and they should be kept running after the module initialisation. Also I'll need to access some of these threads information when the module will be

Re: r-server-port problem

2002-11-26 Thread Jeff Trawick
Estrade Matthieu [EMAIL PROTECTED] writes: I posted a mail about a problem with r-server-port few days ago, I did a patch to correct this bug, but i am not sure it's a bug... the problem was when UseCannonicalName is Off, I don't think it is a bug. What exactly does your module need to

FW: Older version of apache2

2002-11-26 Thread Pier Fumagalli
Folks, given that httpd is mirrored worldwide and not all mirrors are actually rsyincing the .old directory (or anything that starts with a . for what that matters), can you change the link in README.html to point to http://www.apache.org/dist/httpd/.old; instead of just a relative to .old?

Re: r-server-port problem

2002-11-26 Thread Estrade Matthieu
My module need to know the r-server-port, i mean the port of virtual host used by the client. in my apache, i have 2 VHOST: The problem happened when i was behind an Intel SSL Accelerator. client https --- SSL INTEL 443 -- Reverse Proxy 8095 The SSL accelerator is listening on 443, send

Re: r-server-port problem

2002-11-26 Thread Jeff Trawick
Estrade Matthieu [EMAIL PROTECTED] writes: My module need to know the r-server-port, i mean the port of virtual host used by the client. isn't that in r-server-addrs-host_port? -- Jeff Trawick | [EMAIL PROTECTED] Born in Roswell... married an alien...

Re: r-server-port problem

2002-11-26 Thread Estrade Matthieu
heh ok, i was using the wrong stuff, i didn't know about this struct server_addrs_rec. what r-server-port is used for ? i just would like to know what is the difference btw usecanonicalName On and Off for the r-server-port why default port is sent instead of real port (socket port), i think

Re: module and threads

2002-11-26 Thread Henri Gomez
Jeff Trawick wrote: Henri Gomez [EMAIL PROTECTED] writes: The module should create some threads at startup time, these threads will handle dbm and IO operations and they should be kept running after the module initialisation. Also I'll need to access some of these threads information when the

http://httpd.apache.org/dev/ problem

2002-11-26 Thread Francis Daly
I'm not sure if this should go to dev or docs, but I'll try here as I suspect that it is due to a recent change by someone here. Sorry if I've got this bit wrong. The web page returned from http://httpd.apache.org/dev/ looks strangely blank in my browser right now, almost certainly because there

Re: libapreq-1.1 Release Candidate 1

2002-11-26 Thread Martin Nilsson
Joe Schaefer wrote: The apreq developers are planning a maintenance release of libapreq-1.1. This version does not include support for modperl-2, but it does address some outstanding problems in 1.0: I have made the below patch to make Apache::Request behave like CGI.pm when parsing

[PATCH] bugfix in mod_setenvif

2002-11-26 Thread André Malo
This appeared while playing around with BrowserMatchNoCase. The patternmatch optimizer forgets the icase flag for non-regex pattern, so you get the strange behaviour that BrowserMatchNoCase win ... doesn't work, but BrowserMatchNoCase (win) ... does ;-) The attached patch fixes this. nd --

Re: cvs commit: httpd-2.0 STATUS

2002-11-26 Thread Jim Jagielski
Just in case, I want to note 2 things: 1. I'm 100% cool. I understand that Bill meant no harm or foul to anyone and I apologize for thinking he did. 2. At no time did I become a potty mouth. (#2 will be funnier to those who attended the Apache Town Meeting :) ). Cheers! --

RE: Custom Winnt MPM

2002-11-26 Thread Juan Rivera
Title: RE: Custom Winnt MPM Thanks, that's what I have been doing so far. I though the functionality of loading MPM dynamically was there. Best regards, Juan C. Rivera Citrix Systems, Inc. -Original Message- From: William A. Rowe, Jr. [mailto:[EMAIL PROTECTED]] Sent: Monday,

Re: FW: Older version of apache2

2002-11-26 Thread Aaron Bannert
What's in that directory? I'm getting a 404. -aaron On Tuesday, November 26, 2002, at 04:20 AM, Pier Fumagalli wrote: Folks, given that httpd is mirrored worldwide and not all mirrors are actually rsyincing the .old directory (or anything that starts with a . for what that matters), can

Re: cvs commit: httpd-2.0 STATUS

2002-11-26 Thread Aaron Bannert
On Monday, November 25, 2002, at 05:59 PM, Roy T. Fielding wrote: On Monday, November 25, 2002, at 04:58 PM, Aaron Bannert wrote: I guess I just didn't read that much in to it. I just want to see us move forward without getting bogged down in misinterpreted emails and already acknowledged

Re: FW: Older version of apache2

2002-11-26 Thread Joshua Slive
On Tue, 26 Nov 2002, Pier Fumagalli wrote: Folks, given that httpd is mirrored worldwide and not all mirrors are actually rsyincing the .old directory (or anything that starts with a . for what that matters), can you change the link in README.html to point to

Re: FW: Older version of apache2

2002-11-26 Thread Aaron Bannert
Oh, and for the record, moving files into .old/ directories is evil for rsync. :) (This isn't directed at Pier) Moving files around causes rsync to do a delete and then re-download the moved files/directories. -aaron On Tuesday, November 26, 2002, at 08:07 AM, Aaron Bannert wrote: What's in

MPM perchild.

2002-11-26 Thread Jonas Eriksson
Hi I Still get error Unable to find process with matching uid/gid. after compileing 2.43 with http://cvs.apache.org/viewcvs.cgi/httpd-2.0/server/mpm/experimental/perc hild/perchild.c Any ideas?

2.0.44?

2002-11-26 Thread Oden Eriksson
Hi. I noticed that you have opened the 2.1 bransch in CVS, will this mean 2.0.44 will be released soon? (with its many improvements) If so, when? Chears. -- Regards // Oden Eriksson, Deserve-IT Networks Check the Modules For Apache2 status page at:

Re: 2.0.44?

2002-11-26 Thread Aaron Bannert
On Tuesday, November 26, 2002, at 08:31 AM, Oden Eriksson wrote: I noticed that you have opened the 2.1 bransch in CVS, will this mean 2.0.44 will be released soon? (with its many improvements) We're hoping to release it soon, yes. If so, when? When it's ready. :) -aaron

Re: 2.0.44?

2002-11-26 Thread Oden Eriksson
tisdagen den 26 november 2002 17.35 skrev Aaron Bannert: On Tuesday, November 26, 2002, at 08:31 AM, Oden Eriksson wrote: I noticed that you have opened the 2.1 bransch in CVS, will this mean 2.0.44 will be released soon? (with its many improvements) We're hoping to release it soon, yes.

RE: request for comments: multiple-connections-per-thread MPM design

2002-11-26 Thread Juan Rivera
Title: RE: request for comments: multiple-connections-per-thread MPM design Brian, Does your model assume that connections are short lived (HTTP)? One problem with the current model is that if you implement, let's say mod_socks, it holds a connection per thread. Is that something your

Re: MPM perchild againg

2002-11-26 Thread Johannes Erdfelt
On Tue, Nov 26, 2002, Enrico Weigelt [EMAIL PROTECTED] wrote: it seems that under some circumstances the messages for connection passing between childs are not received at the destination process. sometimes it also happened, that apr_poll() returned w/o error, but scan through the listener

SV: MPM perchild againg

2002-11-26 Thread Jonas Eriksson
I'm usning Revision 1.136 ./configure --enable-so --prefix=/usr/local/apache2.0.43 --with-mpm=perchild On Tue, Nov 26, 2002, Enrico Weigelt [EMAIL PROTECTED] wrote: it seems that under some circumstances the messages for connection passing between childs are not received at the

Re: http://httpd.apache.org/dev/ problem

2002-11-26 Thread André Malo
* Francis Daly wrote: The web page returned from http://httpd.apache.org/dev/ looks strangely blank in my browser right now, almost certainly because there are 10 tables and only 9 /tables, and this browser is easily confused. don't know, how this comes (manual editing?). Just ran the

SV: MPM perchild.

2002-11-26 Thread Jonas Eriksson
Hmm sorry! I did a bougus error in http.conf ... When i now start the server i get the following in my shell promt and the server starts. What does the debug info tell? Is it all ok or do i have to change anyting? [root@mose /usr/local/apache2.0.43/bin]# ./httpd -f

Re: r-server-port problem

2002-11-26 Thread William A. Rowe, Jr.
Hmmm... I'm thinking that in between UseCanonicalName On [look up our name and use that] v.s. UseCanonicalName Off [trust the client] ... we might want UseCanonicalName Port which would not do the DNS lookups [trust the client for that] but would trust our idea of the port. Respectable idea?

Re: http://httpd.apache.org/dev/ problem

2002-11-26 Thread William A. Rowe, Jr.
At 07:32 AM 11/26/2002, Francis Daly wrote: I'm not sure if this should go to dev or docs, but I'll try here as I suspect that it is due to a recent change by someone here. Sorry if I've got this bit wrong. I'm cc'ing docs The web page returned from http://httpd.apache.org/dev/ looks strangely

Re: FW: Older version of apache2

2002-11-26 Thread William A. Rowe, Jr.
At 10:13 AM 11/26/2002, Joshua Slive wrote: On Tue, 26 Nov 2002, Pier Fumagalli wrote: Folks, given that httpd is mirrored worldwide and not all mirrors are actually rsyincing the .old directory (or anything that starts with a . for what that matters), can you change the link in README.html

Re: FW: Older version of apache2

2002-11-26 Thread Aaron Bannert
I already outlined a better solution on [EMAIL PROTECTED], and I believe Justin just condensed all the ideas out there into one big doc, so I'll defer to that. I think you have it right, but I would say: - put all the dist-able files into their final destination directories - symlink to the

Re: [PATCH] IndexResults for mod_autoindex

2002-11-26 Thread Francis Daly
On Fri, Nov 22, 2002 at 11:52:10PM -0600, William A. Rowe, Jr. wrote: Francis, very cool patch! I'll look at it if noone beats me to it, you aren't the only one who wants this feature :-) Good to hear, thanks. One caveat, though, that I should have noticed before posting: A commit about a

Re: FW: Older version of apache2

2002-11-26 Thread Roy T. Fielding
So you suggest initially populating old/ and then symlinking the now-current version in the main download directory at the old/ target, instead? It would still initially download the package twice, and then simply unlink it later on, right? Or what's the right approach here? I suggest moving

Re: trouble w/ perchild MPM

2002-11-26 Thread Enrico Weigelt
On Tue, Nov 26, 2002 at 07:06:33AM -0500, Jeff Trawick wrote: hi folks, snip Please grab perchild.c from current cvs and see how much is still broken. Here is one easy place to grab it. Make sure you get the latest version.

Re: MPM perchild.

2002-11-26 Thread Enrico Weigelt
On Tue, Nov 26, 2002 at 06:44:13PM +0100, Jonas Eriksson wrote: snip /usr/local/apache2.0.43/conf/httpd.conf [Tue Nov 26 18:35:41 2002] [debug] perchild.c(2007): filling out child_info_table; UID: 1096, GID: 1094, SD: 4 4, OUTPUT: 5 5, Child Num: 0 [Tue Nov 26 18:35:41 2002] [debug]

Re: trouble w/ perchild MPM

2002-11-26 Thread Johannes Erdfelt
On Tue, Nov 26, 2002, Enrico Weigelt [EMAIL PROTECTED] wrote: On Tue, Nov 26, 2002 at 07:06:33AM -0500, Jeff Trawick wrote: hi folks, snip Please grab perchild.c from current cvs and see how much is still broken. Here is one easy place to grab it. Make sure you get the latest

Re: trouble w/ perchild MPM

2002-11-26 Thread James Ponder
On Tue, Nov 26, 2002 at 07:06:33AM -0500, Jeff Trawick wrote: Any debugging you can provide would be much appreciated. perchild is one of the potentially cool features of 2.0, but at the moment it I'm trying to understand perchild, so I've had a quick look at the source. Could you confirm my

Re: trouble w/ perchild MPM

2002-11-26 Thread Johannes Erdfelt
On Wed, Nov 27, 2002, James Ponder [EMAIL PROTECTED] wrote: On Tue, Nov 26, 2002 at 07:06:33AM -0500, Jeff Trawick wrote: Any debugging you can provide would be much appreciated. perchild is one of the potentially cool features of 2.0, but at the moment it I'm trying to understand

Re: trouble w/ perchild MPM

2002-11-26 Thread James Ponder
On Tue, Nov 26, 2002 at 07:44:34PM -0500, Johannes Erdfelt wrote: This can include shared (sometimes requiring connections to be passed) and non shared (always answered by the child) sockets. I don't particularly see the non shared case as a concern. The shared case can be a problem. If

Re: trouble w/ perchild MPM

2002-11-26 Thread James Ponder
On Tue, Nov 26, 2002 at 08:18:06PM -0500, Johannes Erdfelt wrote: Perhaps perchild can be improved further to have a set of listener processes/threads, under the generic apache user id or another secured id, which accepts connections but does not process them. These threads then pass the

Re: trouble w/ perchild MPM

2002-11-26 Thread Enrico Weigelt
On Wed, Nov 27, 2002 at 01:41:14AM +, James Ponder wrote: snip I meant 1 or more processes with 1 or more threads each. Has any work been done on testing whether it's best to have 100 processes listening or 10 processes with 10 threads each all listening, or 10 processes with 10 threads