Re: [PATCH] mod_mime.c core dumps with no AddType

2001-08-22 Thread Jeff Trawick
should fix the crash, but IMHO by that point the > extension_mappings hash should just be empty, not null (i.e. it should be > initialized to apr_hash_make) -- +1 to a patch which initializes apr_hash_make() more sanely so we don't have to keep checking -- Jeff Trawick | [EMAIL PROTECT

Re: cvs commit: httpd-2.0/modules/filters mod_include.c

2001-08-23 Thread Jeff Trawick
t;filename) == 0)) || > -(strcmp(q->uri, rr->uri) == 0)) { > + if ( (strcmp(q->filename, rr->filename) == 0) || > + (strcmp(q->uri, rr->uri) == 0) ){ Gimme my code back :) Also,

Re: 2.0.24 ready for beta?

2001-08-23 Thread Jeff Trawick
static builds are both working fine. I was getting screwy failures related to the build changes for a while; not 100% sure everything is working yet. Now I'm getting some disturbing warnings in mod_include and mod_cgid (the fun never ends!). -- Jeff Trawick | [EMAIL PROTECTED] | PGP public

Re: Error : Apache [ __wcsrtombs: Assertion `data.outbuf != (unsigned char *) dst' failed ]

2001-08-23 Thread Jeff Trawick
me sort of bad parameter passed to glibc. Maybe PHP is doing it; maybe Apache is doing it; maybe it is yet another function. -- Jeff Trawick | [EMAIL PROTECTED] | PGP public key at web site: http://www.geocities.com/SiliconValley/Park/9289/ Born in Roswell... married an alien...

Re: cvs commit: httpd-2.0/modules/experimental cache_storage.c cache_util.c mod_mem_cache.c mod_cache.c mod_cache.h

2001-08-23 Thread Jeff Trawick
he.c:344: parse error before `uri' mod_cache.c:348: warning: unused variable `out' mod_cache.c:347: warning: unused variable `e' make[3]: *** [mod_cache.lo] Error 1 make[3]: Leaving directory `/home/trawick/apache/httpd-2.0/modules/experimental' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/trawick/apache/httpd-2.0/modules/experimental' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/trawick/apache/httpd-2.0/modules' -- Jeff Trawick | [EMAIL PROTECTED] | PGP public key at web site: http://www.geocities.com/SiliconValley/Park/9289/ Born in Roswell... married an alien...

Re: cvs commit: httpd-2.0/modules/generators mod_cgi.c mod_cgid.c

2001-08-23 Thread Jeff Trawick
if (rv != APR_SUCCESS) { > +return rv; > +} > +} besides not compiling cleanly this can't work dependably... you need "return APR_SUCCESS;" here at the end of the function... and then there is the issue Ryan raised... -- Jeff Trawick | [EMAIL PROTECTED] | PGP public key at web site: http://www.geocities.com/SiliconValley/Park/9289/ Born in Roswell... married an alien...

Re: cvs commit: httpd-2.0/modules/experimental cache_storage.c cache_util.c mod_mem_cache.c mod_cache.c mod_cache.h

2001-08-23 Thread Jeff Trawick
[EMAIL PROTECTED] writes: > Index: mod_cache.c > +module AP_MODULE_DECLARE_DATA tcache_module; Why isn't this "cache_module" instead of "tcache_module"? I'm getting unresolved references to cache_module from modules.c. -- Jeff Trawick | [EMAIL PRO

Re: cvs commit: httpd-2.0/modules/experimental cache_storage.c cache_util.c mod_mem_cache.c mod_cache.c mod_cache.h

2001-08-23 Thread Jeff Trawick
Graham Leggett <[EMAIL PROTECTED]> writes: > Jeff Trawick wrote: > > > > +module AP_MODULE_DECLARE_DATA tcache_module; > > > > Why isn't this "cache_module" instead of "tcache_module"? I'm getting > > unresolved ref

Re: cvs commit: httpd-2.0/server core.c

2001-08-23 Thread Jeff Trawick
srclib/apr/include -I/home/regress/regress/httpd-2.0/srclib/apr-util/include -I/home/regress/regress/httpd-2.0/modules/dav/main -c core.c && touch core.lo I'm gonna "fix" the mod_include and mod_cgi[d] warnings too. Paul and Ryan can work out where the code goes eventually. Fo

Re: Win32 compile breakage...

2001-08-23 Thread Jeff Trawick
188] Negotiation: > discovered file(s) matching request: /tmp/cliff/htdocs/ (None could be > negotiated). heck, I'm not getting that far with my regression builds/tests... I gotta get up-to-date w.r.t. where "make install" puts doc and cgis :( -- Jeff Trawick | [EMAIL PROT

Re: current cvs cannot serve static files

2001-08-23 Thread Jeff Trawick
"William A. Rowe, Jr." <[EMAIL PROTECTED]> writes: > That isn't all, but I'm still coding. Please (everyone) don't slap patches > willy nilly on this, I'm uncovering a ton of loose ends in our > existing code what's good for the goose is

Re: mod_negotiation.c 1.74

2001-08-24 Thread Jeff Trawick
ffered files. And yet the ungetc operation is usually needed by program logic that needs buffering. I'll start playing with ungetc on buffered files :( -- Jeff Trawick | [EMAIL PROTECTED] | PGP public key at web site: http://www.geocities.com/SiliconValley/Park/9289/ Born in Roswell... married an alien...

is apache building properly for anybody on Darwin?

2001-08-24 Thread Jeff Trawick
I'm in no hurry to either :) ). -- Jeff Trawick | [EMAIL PROTECTED] | PGP public key at web site: http://www.geocities.com/SiliconValley/Park/9289/ Born in Roswell... married an alien...

Re: mod_negotiation.c 1.74

2001-08-24 Thread Jeff Trawick
Jeff Trawick <[EMAIL PROTECTED]> writes: > "William A. Rowe, Jr." <[EMAIL PROTECTED]> writes: > > > We now fail to read mmap var content entirely. This is bad. > > However, it is as likely as not that the apr_seek code is simply > > broken on Win

Re: 2.0.24 ready for beta?

2001-08-24 Thread Jeff Trawick
from the frontlines of debugging the current code, the test/debug cycle, and its overlap with lots of activity in HEAD, is what is delaying a beta tarball. I don't see how the process you outlined is going to change that, unless there are some different psychological motivations in play which

Re: is apache building properly for anybody on Darwin?

2001-08-24 Thread Jeff Trawick
re really running a shell script which in turn runs .libs/lt-httpd or .libs/lt-ab or whatever. *except on Darwin AFAIK; I'll assume somebody else has had a look-see on Solaris and I'll try to have a look-see on AIX today -- Jeff Trawick | [EMAIL PROTECTED] | PGP public key at web site: http://www.geocities.com/SiliconValley/Park/9289/ Born in Roswell... married an alien...

Re: mod_negotiation.c 1.74

2001-08-24 Thread Jeff Trawick
ver horribly. Just try the > error documents right now, via indirection. We get a 506 (variant also > negotiates) which we shouldn't be seeing with a 1:n match in a .var file. haven't tried yet -- Jeff Trawick | [EMAIL PROTECTED] | PGP public key at web site: http://ww

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

2001-08-24 Thread Jeff Trawick
+apr_lock_acquire(sconf->lock); > +} it would be kind of cool to have an APR noop lock to avoid this kind of ugliness; wasted pathlength but prettier :) -- Jeff Trawick | [EMAIL PROTECTED] | PGP public key at web site: http://www.geocities.com/SiliconValley/Park/9289/

Re:

2001-08-27 Thread Jeff Trawick
yntax error on line 1 of /home/trawick/apacheinst/conf/httpd.conf: Invalid command ' Is there a reason we are allowing unrecognized/unparsed blocks into the config? bug > I would expect we would want to error out. yes -- Jeff Trawick | [EMAIL PROTECTED] | PGP public key at web site:

Re: odd content length goings on

2001-08-27 Thread Jeff Trawick
ength'); my $i; if (!$offset) { die "Yo! I need an offset!"; } print "Content-type: text/html\n\n"; $i = 0; while ($offset > 0) { if (($i % 50) eq 0) { print "\n"; } else { print "1"; } ++$i; --$offset; }

Re: recommanded configure for 2.0.24 ?

2001-08-27 Thread Jeff Trawick
lied. It is finally working reasonably for me with many concurrent connections. -- Jeff Trawick | [EMAIL PROTECTED] | PGP public key at web site: http://www.geocities.com/SiliconValley/Park/9289/ Born in Roswell... married an alien...

Re: cvs commit: httpd-2.0/server util_filter.c

2001-08-27 Thread Jeff Trawick
_filter' : > 'void' function returns a value fixed (it was sort of cute though; I thought I had seen it all) -- Jeff Trawick | [EMAIL PROTECTED] | PGP public key at web site: http://www.geocities.com/SiliconValley/Park/9289/ Born in Roswell... married an alien...

Re: r->assbackwards

2001-08-27 Thread Jeff Trawick
"William A. Rowe, Jr." <[EMAIL PROTECTED]> writes: > Two; why are we trying to support HTTP/0.9 in the year 2001? How many pre HTTP/1.0 > clients are out there to support? telnet :) -- Jeff Trawick | [EMAIL PROTECTED] | PGP public key at web site: ht

Re: make install fails

2001-08-27 Thread Jeff Trawick
tory don't you have httpd-2.0/docs/error/* on your system? -- Jeff Trawick | [EMAIL PROTECTED] | PGP public key at web site: http://www.geocities.com/SiliconValley/Park/9289/ Born in Roswell... married an alien...

Re: make install fails

2001-08-27 Thread Jeff Trawick
ady enrolled in your working directory.) This is useful for updating directories that were created in the repository since the initial checkout..." Consider something like this for ~/.cvsrc: update -Pd diff -u -- Jeff Trawick | [EMAIL PROTECTED] | PGP public key at web site: ht

Re: cvs commit: httpd-2.0/modules/mappers mod_negotiation.c

2001-08-27 Thread Jeff Trawick
if ((status = apr_file_open(map, rr->filename, APR_READ | APR_BUFFERED, > +if ((status = apr_file_open(map, rr->filename, APR_READ /* | APR_BUFFERED */, -- Jeff Trawick | [EMAIL PROTECTED] | PGP public key at web site: http://www.geocities.com/SiliconValley/Park/9289/ Born in Roswell... married an alien...

Re: [PATCH] worker MPM: reuse transaction pools

2001-08-28 Thread Jeff Trawick
hould, this overhead is unnecessary; the ptrans shouldn't be held in a shared data structure. -- Jeff Trawick | [EMAIL PROTECTED] | PGP public key at web site: http://www.geocities.com/SiliconValley/Park/9289/ Born in Roswell... married an alien...

Re: [PATCH] worker MPM: reuse transaction pools

2001-08-28 Thread Jeff Trawick
Ryan Bloom <[EMAIL PROTECTED]> writes: > On Tuesday 28 August 2001 04:03, Jeff Trawick wrote: > > Aaron Bannert <[EMAIL PROTECTED]> writes: > > > This patch implements a resource pool of context pools -- a queue of > > > available pools that the liste

Re: Comments on accept-mutex/single-listen patch ??

2001-08-28 Thread Jeff Trawick
; + return "Request serialized accept method not available"; same as previous comment, but I'd think one of these should never fail... how about ap_assert() in one of them instead of returning an error that we shouldn't have logic to check for? -/-- -- Jeff Trawick | [EMAIL PROTECTED] | PGP public key at web site: http://www.geocities.com/SiliconValley/Park/9289/ Born in Roswell... married an alien...

Re: Comments on accept-mutex/single-listen patch ??

2001-08-28 Thread Jeff Trawick
Jim Jagielski <[EMAIL PROTECTED]> writes: > At 10:18 AM -0400 8/28/01, Jeff Trawick wrote: > > > >which "default stuff" is needed in 2.0? > > Last I looked, APR uses the traditional ordering of which > locking method to use. Thus, if SysV, fcntl and flo

Re: Comments on accept-mutex/single-listen patch ??

2001-08-28 Thread Jeff Trawick
e Apache's ap_config.h has not yet been tweaked to indicate that. Is this a real-life problem that we need to solve, or is it rare enough that the user can use the existing compile-time mechanism until Apache's ap_config.h is fixed and we can avoid adding another directive. -- Jeff Trawick | [EMAIL PROTECTED] | PGP public key at web site: http://www.geocities.com/SiliconValley/Park/9289/ Born in Roswell... married an alien...

Re: cvs commit: httpd-2.0 STATUS

2001-08-28 Thread Jeff Trawick
reference would be to change > --enable-mods-shared to --enable-modules-shared. +1 -- Jeff Trawick | [EMAIL PROTECTED] | PGP public key at web site: http://www.geocities.com/SiliconValley/Park/9289/ Born in Roswell... married an alien...

Re: Comments on accept-mutex/single-listen patch ??

2001-08-29 Thread Jeff Trawick
Jim Jagielski <[EMAIL PROTECTED]> writes: > At 11:00 AM -0400 8/28/01, Jeff Trawick wrote: > > > >HAVE_NONE_xxx means that you can turn the accept mutex into a no-op, > >even in the multiple-listener case. If we can play around with this > >on one platform

Re: [PATCH] V2: Accept Mutex Runtime Option

2001-08-29 Thread Jeff Trawick
M_SERIALIZED_ACCEPT and NEED_UNION_SEMUN). -- Jeff Trawick | [EMAIL PROTECTED] | PGP public key at web site: http://www.geocities.com/SiliconValley/Park/9289/ Born in Roswell... married an alien...

Re: time for 2.0.25?

2001-08-29 Thread Jeff Trawick
1642for (i = 0, j = 0; s[i] != '\0'; i++) backtrace? -- Jeff Trawick | [EMAIL PROTECTED] | PGP public key at web site: http://www.geocities.com/SiliconValley/Park/9289/ Born in Roswell... married an alien...

Re: PHP4 as CGI with 2.0.25

2001-08-30 Thread Jeff Trawick
rver/core.c to fix an unbelievably drastic problem (loop and/or segfault on main path) which was introduced during the evening. You might want to try it again. -- Jeff Trawick | [EMAIL PROTECTED] | PGP public key at web site: http://www.geocities.com/SiliconValley/Park/9289/ Born in Roswell... married an alien...

Re: cvs commit: httpd-2.0/modules/experimental mod_charset_lite.c

2001-08-30 Thread Jeff Trawick
Thus, I have to wait until my filter is called to see if my implicitly-added filter needs to be removed. Right? -- Jeff Trawick | [EMAIL PROTECTED] | PGP public key at web site: http://www.geocities.com/SiliconValley/Park/9289/ Born in Roswell... married an alien...

Re: Comments on accept-mutex/single-listen patch ??

2001-08-30 Thread Jeff Trawick
u w.r.t. "AcceptMutex none" :) My guess is that SingleListen would be misunderstood/misused far more often than gainfully used. Even in a mixed-os-level environment there can be other reasons to recompile apache+modules specifically for the uplevel boxes. -- Jeff Trawick | [

Re: cvs commit: httpd-2.0/modules/experimental mod_charset_lite.c

2001-08-30 Thread Jeff Trawick
Ryan Bloom <[EMAIL PROTECTED]> writes: > On Thursday 30 August 2001 06:53, Jeff Trawick wrote: > > I think you're saying that beyond core (whose config I was looking > > at), any other modules (e.g., mime) might add a charset filter too > > based on their own dire

Re: 2.0.26?

2001-08-30 Thread Jeff Trawick
#x27;t want to jump into this contest or step on anybody's toes but instead just point out that whether or not the Apache web server is supported on Be has nothing to do with the prospects of Be but rather whether or not there is anybody actively maintaining the port of Apache to Be. -- Jeff

Re: 2.0.26?

2001-08-30 Thread Jeff Trawick
tart and stop it :) this helps, though ipcs -m | grep 49160 | awk '{print $2}' | xargs -n 1 ipcrm shm where 49160 is the size I'm currently getting for the scoreboard (wow, the day goes by and I haven't even gotten to any tasks I'd planned on working on) -- Jeff Trawick |

Re: 2.0.26?

2001-08-30 Thread Jeff Trawick
Cliff Woolley <[EMAIL PROTECTED]> writes: > On 30 Aug 2001, Jeff Trawick wrote: > > > Ian Holsman <[EMAIL PROTECTED]> writes: > > > > > should we re-roll&tar 26 (which would include a patch to worker and > > > ldap_cache, some NW fixes and th

Re: 2.0.26?

2001-08-30 Thread Jeff Trawick
Cliff Woolley <[EMAIL PROTECTED]> writes: > On 30 Aug 2001, Jeff Trawick wrote: > > > Ian Holsman <[EMAIL PROTECTED]> writes: > > > > > should we re-roll&tar 26 (which would include a patch to worker and > > > ldap_cache, some NW fixes and th

Re: [PATCH] Final version of AcceptMutex

2001-08-30 Thread Jeff Trawick
at's just too cool. Oh wow... ISTR that I have an uncommitted patch to 1.3 that makes Apache start up if I misspell the argument to LogLevel (boy do I have problems with certain spellings). I'll go ahead and commit that one too. (You were joking, right?) -- Jeff Trawick | [EMAIL PROTEC

Re: cvs commit: httpd-2.0/server util_filter.c

2001-09-04 Thread Jeff Trawick
set) { > +ap_filter_rec_t *frec; > +int len = strlen(name); > +int size = len + 1; > +char name_lower[size]; not portable, not to mention unbounded stack size; the HP C compiler won't compile it (maybe a reason to keep it as-is :) ) "array

Re: cvs commit: apache-1.3/src/modules/standard mod_rewrite.h

2001-09-05 Thread Jeff Trawick
tex foo" directive is invalid. I think the admin should get the same feedback she'd get if she miscoded anything else. I'm not accustomed to Apache continuing to initialize if a directive is miscoded. -- Jeff Trawick | [EMAIL PROTECTED] | PGP public key at web sit

Re: [PATCH] fix apachectl to know about sbin change

2001-09-07 Thread Jeff Trawick
Pier Fumagalli <[EMAIL PROTECTED]> writes: > Pier (grossed out by autoconf! :) :) -- Jeff Trawick | [EMAIL PROTECTED] | PGP public key at web site: http://www.geocities.com/SiliconValley/Park/9289/ Born in Roswell... married an alien...

Re: cvs commit: apache-1.3/src/os/netware mod_tls.c

2001-09-07 Thread Jeff Trawick
module is. > > Does that work for everyone, for today? that makes lots of sense to me (butting in from left field) -- Jeff Trawick | [EMAIL PROTECTED] | PGP public key at web site: http://www.geocities.com/SiliconValley/Park/9289/ Born in Roswell... married an alien...

[PATCH] somebody plz try this on Solaris < 8

2001-09-07 Thread Jeff Trawick
6 +181,7 @@ #define bzero(a,b) memset(a,0,b) #define HAVE_SYSVSEM_SERIALIZED_ACCEPT #define HAVE_FCNTL_SERIALIZED_ACCEPT +#define HAVE_PTHREAD_SERIALIZED_ACCEPT #if !defined(USE_SYSVSEM_SERIALIZED_ACCEPT) && \ !defined(USE_PTHREAD_SERIALIZED_ACCEPT) #define USE_FCNTL_SERIALIZED_ACCEP

Re: [PATCH] somebody plz try this on Solaris < 8

2001-09-07 Thread Jeff Trawick
Jeff Trawick <[EMAIL PROTECTED]> writes: > Sorry for wasting the subject line but I'd just commit if I could test > properly. I'd love to see whether or not it builds on Solars 7. > > This 1.3 patch allows the administrator to choose pthread for the > accept mu

Re: Apache 1.3.21 tag and roll

2001-09-07 Thread Jeff Trawick
hanges which were punted from 1.3.20... does anybody know if those are golden yet? -- Jeff Trawick | [EMAIL PROTECTED] | PGP public key at web site: http://www.geocities.com/SiliconValley/Park/9289/ Born in Roswell... married an alien...

Re: ap_bread() ap_bwrite()

2001-09-07 Thread Jeff Trawick
core input and output filters play with the apr_socket directly (i.e., apr_sendfile, apr_send, apr_recv, etc.) reading from a subprocess pipe (e.g., mod_cgi, mod_mime_magic): have APR create pipes to a child process, then use APR file operations on those pipes what other uses are there?

Re: solaris platforms supported

2001-09-07 Thread Jeff Trawick
e system I use on a regular basis has an older gcc (2.8.1). I use Solaris 8 Intel infrequently; I dunno what gcc it has (can't reboot right now). -- Jeff Trawick | [EMAIL PROTECTED] | PGP public key at web site: http://www.geocities.com/SiliconValley/Park/9289/ Born in Roswell... married an alien...

Re: cvs commit: httpd-2.0 STATUS

2001-09-10 Thread Jeff Trawick
e was only one to look at properly and choose from, and it seemed reasonably coded and could be easily shown to work with the current code. -- Jeff Trawick | [EMAIL PROTECTED] | PGP public key at web site: http://www.geocities.com/SiliconValley/Park/9289/ Born in Roswell... married an alien...

Re: cvs commit: apache-1.3 STATUS

2001-09-10 Thread Jeff Trawick
first referenced symbol in file sqrtab.o ld: fatal: Symbol referencing errors. No output written to ab -- Jeff Trawick | [EMAIL PROTECTED] | PGP public key at web site: http://www.geocities.com/SiliconValley/Park/9289/

Re: cvs commit: apache-1.3 STATUS

2001-09-10 Thread Jeff Trawick
Sander Temme <[EMAIL PROTECTED]> writes: > on 9/10/01 7:46 AM, Jeff Trawick at [EMAIL PROTECTED] wrote: > > > now I see that I get to play with libraries: > > > > Undefined first referenced > > symbol

Re: Apache 1.3.21 tag and roll

2001-09-11 Thread Jeff Trawick
Rodent of Unusual Size <[EMAIL PROTECTED]> writes: > * On 2001-09-07 at 11:13, > Jeff Trawick <[EMAIL PROTECTED]> excited the electrons to say: > > > > there's the boatload of ab changes which were punted from 1.3.20... > > does anybody know if

Re: Apache 1.3.21 tag and roll

2001-09-11 Thread Jeff Trawick
254? +0.6 (looks reasonable, smart people liked the same fix in 2.0, but somebody more qualified in that area ought to bless it :) ) -- Jeff Trawick | [EMAIL PROTECTED] | PGP public key at web site: http://www.geocities.com/SiliconValley/Park/9289/ Born in Roswell... married an alien...

make install FUBAR?

2001-09-14 Thread Jeff Trawick
awick 3072 Sep 14 07:21 icons drwxr-xr-x 2 trawick trawick 2048 Sep 14 07:21 htdocs drwxr-xr-x 3 trawick trawick 1024 Sep 14 07:21 error (actually, bin has existed there for years) -- Jeff Trawick | [EMAIL PROTECTED] | PGP public key at web site: http://www.geocitie

Re: make install FUBAR?

2001-09-14 Thread Jeff Trawick
Jeff Trawick <[EMAIL PROTECTED]> writes: > With --prefix=/home/trawick/apacheinst, I'm not getting that directory > created but I am getting the directories created in /home/trawick. ahh, this was a bad recreate of the problem :( let me go back to figuring out exactly whe

Re: make install FUBAR?

2001-09-14 Thread Jeff Trawick
Ryan Bloom <[EMAIL PROTECTED]> writes: > On Friday 14 September 2001 05:30 am, Jeff Trawick wrote: > > Any errors on the install command? I would bet that it isn't finding > the correct command to make the directory, but I would need to see > the output to confirm.

Re: New post-log-transaction hook?

2001-09-18 Thread Jeff Trawick
e handled in the MPM. It shouldn't be too hard for the MPM to implement its own lingering close in a manner that doesn't consume one thread per closing connection (e.g., dedicate one thread per MPM to do all the lingering close logic). Of course there could always be another hook :) --

Re: cvs commit: httpd-2.0/docs/conf httpd-nw.conf

2001-09-18 Thread Jeff Trawick
could be useful. Basic platform defines could include Unix OS2 Win32 NetWare BeOS. Admins can always create their own defines for their directives (e.g., -DSolaris8). -- Jeff Trawick | [EMAIL PROTECTED] | PGP public key at web site: http://www.geocities.com/SiliconValley/Park/9289/

Re: cvs commit: httpd-2.0/server/mpm/worker worker.c

2001-09-19 Thread Jeff Trawick
issue. So what to do? query state of queue before accept (without getting a lock if possible)... if pretty full*, instead of calling accept() block in a mutex which will be posted by a worker when get go above some threshhold of available slots in the queue *maybe some lack of exa

Re: cvs commit: httpd-2.0/server/mpm/worker worker.c

2001-09-19 Thread Jeff Trawick
g_error() for ap_queue_pop() failures, but I was immediately reminded of experiences with my own similar MPM, which showed that there are false wake-ups with glibc 2.1 on Linux. For ap_queue_pop(), we could stand to have a call to ap_log_error() when it fails with something besides FD_QUEUE_EINTR.

Re: cvs commit: httpd-2.0/server/mpm/worker worker.c

2001-09-19 Thread Jeff Trawick
n MPM hich is otherwise working fairly reasonably (e.g., not losing connections when the queue fills). Surely we haven't been spinning our wheels all this time when Manoj had one lying around :) -- Jeff Trawick | [EMAIL PROTECTED] | PGP public key at web site: http://www.geocitie

Re: cvs commit: httpd-2.0/server/mpm/worker worker.c

2001-09-19 Thread Jeff Trawick
there a more appropriate error code? "Server Temporarily Unavailable" > or whatnot? It is an avoidable problem. There is no sense worrying about the error code. -- Jeff Trawick | [EMAIL PROTECTED] | PGP public key at web site: http://www.geocities.com/SiliconValley/Park/9289/ Born in Roswell... married an alien...

[PATCH] get TRACE to work again

2001-09-20 Thread Jeff Trawick
if (access_status == DONE) - return OK; - else -return access_status; +return access_status; } if ((access_status = ap_location_walk(r))) { -- Jeff Trawick | [EMAIL PROTECTED] | PGP public key at web site: http://www.geocities.com/SiliconValley

Re: clean_child_exit, just_die and exit

2001-09-26 Thread Jeff Trawick
pbuffer)) != 0) { +ap_log_error(APLOG_MARK, APLOG_ERR|APLOG_NOERRNO, server_conf, + "just jumped"); +clean_child_exit(0); +} + signal(SIGHUP, just_die); signal(SIGUSR1, just_die); signal(SIGTERM, just_die); -- Jeff Trawic

Re: cvs commit: httpd-2.0/docs/docroot index.html.hr.iso8859-2

2001-10-01 Thread Jeff Trawick
/ \ | Shouldn't that 'l' in the not-a-word "poslulitelja" be z-caron instead? -- Jeff Trawick | [EMAIL PROTECTED] | PGP public key at web site: http://www.geocities.com/SiliconValley/Park/9289/ Born in Roswell... married an alien...

Re: cvs commit: httpd-2.0/docs/docroot index.html.hr.iso8859-2

2001-10-01 Thread Jeff Trawick
Vlatko Juric-Kokic <[EMAIL PROTECTED]> writes: > On 01 Oct 2001 11:24:18 -0400, Jeff Trawick <[EMAIL PROTECTED]> > wrote: > > > >>Ovu stranica vidite stoga ?to je administrator ovog poslu?itelja promijenio > >>konfiguraciju. Apache Softver

Re: best source - please reply.

2001-10-02 Thread Jeff Trawick
ms' which attempts to explain where you should look for answers. -- Jeff Trawick | [EMAIL PROTECTED] | PGP public key at web site: http://www.geocities.com/SiliconValley/Park/9289/ Born in Roswell... married an alien...

Re: cvs commit: httpd-2.0/server/mpm/worker worker.c

2002-04-17 Thread Jeff Trawick
e OS cleans it up when we exit -- Jeff Trawick | [EMAIL PROTECTED] Born in Roswell... married an alien...

Re: cvs commit: httpd-2.0/server/mpm/worker worker.c

2002-04-17 Thread Jeff Trawick
If we hang around much longer, the parent is going to kill us and we won't be able to run cleanups anyway. -- Jeff Trawick | [EMAIL PROTECTED] Born in Roswell... married an alien...

Re: FW: shared dav_svn is not relinking

2002-04-17 Thread Jeff Trawick
t ending with .so, > right? sounds right... and you have to account for a possible "lib" prefix on some of the files -- Jeff Trawick | [EMAIL PROTECTED] Born in Roswell... married an alien...

Re: Problem with child reaping on Tru64

2002-04-18 Thread Jeff Trawick
t; + #endif > if (sigaction(signo, &act, &oact) < 0) > return SIG_ERR; > return oact.sa_handler; -- Jeff Trawick | [EMAIL PROTECTED] Born in Roswell... married an alien...

Re: Release 2.0.36

2002-04-18 Thread Jeff Trawick
ince my regression tests can test other code). I think the code I put in yesterday should be backed out, but something else needs to change Real Soon Now to avoid the segfault. I'll be -1 on another release otherwise (not that such an opinion would make any difference). I'll back it out

Re: Release 2.0.36

2002-04-18 Thread Jeff Trawick
Cliff Woolley <[EMAIL PROTECTED]> writes: > 5) What about the libtool --install issue and Sander's partial > patch for it? I'll try to get this done by tomorrow afternoon. Besides the coding, it needs to be tested out on some platforms which Sander doesn'

Re: Problem with child reaping on Tru64

2002-04-18 Thread Jeff Trawick
Can somebody besides me and Dave read the relevant text in Stevens' APUE? After reading it, my understanding is that Dave's change shouldn't hurt any platforms and is definitely going to help some platforms. > Just my 2cents; you'll do want you want. > > Jeff Trawic

Re: FW: shared dav_svn is not relinking

2002-04-18 Thread Jeff Trawick
"Sander Striker" <[EMAIL PROTECTED]> writes: > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED]]On Behalf Of Jeff Trawick > > Sent: 17 April 2002 19:25 > > > "Sander Striker" <[EMAIL PROTECTED]> writes: > > > >>

Re: instdso.sh and libtool, WAS: RE: FW: shared dav_svn is not relinking

2002-04-18 Thread Jeff Trawick
pass it, libtool complains that the name doesn't start with 'lib'. > This sounds like a libtool bug. You are only seeing the lib prefix appear > on some platforms, correct? yes, IIRC it only appears on Tru64 and AIX -- Jeff Trawick | [EMAIL PROTECTED] Born in Roswell... married an alien...

Re: [PATCH include/http_protocol.h] a typo fix

2002-04-19 Thread Jeff Trawick
Stas Bekman <[EMAIL PROTECTED]> writes: > a typo > > Index: include/http_protocol.h > - * @deffunc int ap_setup_cleint_block(request_rec *r, int read_policy) > + * @deffunc int ap_setup_client_block(request_rec *r, int read_policy) done hopefully no C++ reserved words

Re: [PATCH include/http_protocol.h] a typo fix

2002-04-19 Thread Jeff Trawick
posne to HTTP/1.1 clients, so modules should not > be called > + * 100 Continue response to HTTP/1.1 clients, so modules should not > be called committed, but folks may not see a commit message because of some snafu sending the e-mail... I sent a console transcript to [EMAIL PROTECT

Re: Problem with child reaping on Tru64

2002-04-19 Thread Jeff Trawick
*/ > + if((signo == SIGCHLD) && (func == SIG_IGN)) > + act.sa_flags |= SA_NOCLDWAIT; > + #endif > if (sigaction(signo, &act, &oact) < 0) > return SIG_ERR; > return oact.sa_handler; -- Jeff Trawick | [EMAIL PROTECTED] Born in Roswell... married an alien...

Re: [PATCH] Re: Bugzilla bug 8034 - possible explanation of core dump (fwd)

2002-04-19 Thread Jeff Trawick
Jeff Trawick <[EMAIL PROTECTED]> writes: > It looks like mod_so already checks for duplicate LoadModule lines but > it doesn't check for a LoadModule which attempts to override a > built-in module. The patch below seems to implement a check for this > second epossi

Re: cvs commit: httpd-2.0/build instdso.sh

2002-04-19 Thread Jeff Trawick
them get skipped right over. > Might libtool --install strip away debugging symbols? It should be really easy to test your theory. Just use cp to copy your DSO from modules/foo/.libs into the right installed place. More massive suckage (but let's hope it wasn't instdso.sh or libtool)... -- Jeff Trawick | [EMAIL PROTECTED] Born in Roswell... married an alien...

Re: an old Darwin issue... what is the solution?

2002-04-19 Thread Jeff Trawick
libaprutil.dylib (No >such file or directory, errno = 2) > ./apachectl start: httpd could not be started Did you set DYLD_LIBRARY_PATH to the directory with your libraries? -- Jeff Trawick | [EMAIL PROTECTED] Born in Roswell... married an alien...

Re: an old Darwin issue... what is the solution?

2002-04-19 Thread Jeff Trawick
Jeff Trawick <[EMAIL PROTECTED]> writes: > Did you set DYLD_LIBRARY_PATH to the directory with your libraries? I meant "to the directory where libapr and libaprutil are installed?" -- Jeff Trawick | [EMAIL PROTECTED] Born in Roswell... married an alien...

Re: an old Darwin issue... what is the solution?

2002-04-20 Thread Jeff Trawick
e link against the libraries before they were installed. I don't remember whether or not we discussed the appropriateness of setting DYLD_LIBRARY_PATH in the envvars file that apachectl uses. It would seem to me to be a reasonable thing to do. -- Jeff Trawick | [EMAIL PROTECTED] Born in Roswell... married an alien...

Re: Release 2.0.36

2002-04-22 Thread Jeff Trawick
eliminated the segfaults but didn't attack the real issue that pchild needs to live as long as our worker threads or bad stuff will surely happen. -- Jeff Trawick | [EMAIL PROTECTED] Born in Roswell... married an alien...

Re: [PATCH] improve request multiplexing in AB

2002-04-24 Thread Jeff Trawick
set of descriptors. +1 -- Jeff Trawick | [EMAIL PROTECTED] Born in Roswell... married an alien...

Re: kill signals ...

2002-04-24 Thread Jeff Trawick
R1, > and what when apache gets killed with -KILL ? run strace/truss on your piped customlog and see what signal it gets -- Jeff Trawick | [EMAIL PROTECTED] Born in Roswell... married an alien...

Re: [PATCH] improve request multiplexing in AB

2002-04-24 Thread Jeff Trawick
s to handle concurrently. -- Jeff Trawick | [EMAIL PROTECTED] Born in Roswell... married an alien...

Re: mod_ext_filter

2002-04-24 Thread Jeff Trawick
somebody has a copy handy which corresponds to Apache 2.0.35 -- Jeff Trawick | [EMAIL PROTECTED] Born in Roswell... married an alien...

Re: 2.0.36 tagged

2002-04-25 Thread Jeff Trawick
e encountered such problems on Solaris and Linux. Maybe the problems are mostly due to bad build tool setup and we'd be better off trying to detect common problems and issuing a message that would help them fix it.) -- Jeff Trawick | [EMAIL PROTECTED] Born in Roswell... married an alien...

[PATCH] get mod_unique_id to work on IPv6-only boxes

2002-04-25 Thread Jeff Trawick
NTERNAL_SERVER_ERROR; } - -global_in_addr = sockaddr->sa.sin.sin_addr.s_addr; apr_sockaddr_ip_get(&ipaddrstr, sockaddr); ap_log_error(APLOG_MARK, APLOG_NOERRNO|APLOG_INFO, 0, main_server, -- Jeff Trawick | [EMAIL PROTECTED] Born in Roswell... married an alien...

Re: [PATCH] get mod_unique_id to work on IPv6-only boxes

2002-04-25 Thread Jeff Trawick
Justin Erenkrantz <[EMAIL PROTECTED]> writes: > On Thu, Apr 25, 2002 at 10:30:48AM -0400, Jeff Trawick wrote: > > In this context, "IPv6-only boxes" means "boxes with an IPv6 address > > but no IPv4 address corresponding to their hostname". > >

Re: Release 2.0.36

2002-04-25 Thread Jeff Trawick
rom sparse file support in seek-type operations.) Why would we give sendfile a bogus offset/length combination? a couple of possible reasons: a) like you said, the file size could change during the request (a definite problem) b) we bungle the processing somehow and come up with a bogus file

more fun with binary builds (showstoppers?)

2002-04-26 Thread Jeff Trawick
ctl create a temporary /bin/sh script which sources envvars and then does httpd -l (still fairly gross) have apxs know what OS-specific variable to set to find the libraries -- Jeff Trawick | [EMAIL PROTECTED] Born in Roswell... married an alien...

Re: [PATCH] Possible fix for worker MPM performance problem (Updated patch)

2002-04-26 Thread Jeff Trawick
eads_created) { > +create_listener_thread(ts); > +listener_started = 1; > } > + > if (start_thread_may_exit || threads_created == ap_threads_per_child) { > break; > } > + > /* wait for previous generation

  1   2   3   4   5   6   7   8   9   10   >