Re: [PATCH] mod_deflate

2002-02-16 Thread Jeff Trawick
NN4 work correctly. > > text/rtf MSIE 4.x-6.x understand correctly them > > application/msword when compressed. NN and Opera does not. > > application/vnd.ms-excel > > application/vnd.ms-powerpoint > > Igor Sy

Re: [PATCH] mod_deflate

2002-02-16 Thread Jeff Trawick
elpful to some of us if, forgetting the vetos for a moment, people could put a concise wording of their position in the STATUS file and allow folks to indicate how they feel about it. (Can you tell that I can't keep everything straight?) -- Jeff Trawick | [EMAIL PROTECTED] | PGP public key at w

Re: Apache 2.0.32 beta is available

2002-02-19 Thread Jeff Trawick
work on Apache. Some notes on your current code (which I'm guessing at since there is no diff :) ): We would not want to define struct in_addr6 and struct sockaddr_in6 in apr_network_io.h. Please don't use "//" comments ;) Somebody needs to get to the bottom of the 24-byte/28

has anybody seen worker segfaults?

2002-02-19 Thread Jeff Trawick
e -1 Hmmm... -- Jeff Trawick | [EMAIL PROTECTED] | PGP public key at web site: http://www.geocities.com/SiliconValley/Park/9289/ Born in Roswell... married an alien...

Re: has anybody seen worker segfaults?

2002-02-19 Thread Jeff Trawick
sing, I'll guess that there is a pool lifetime problem (catch-all?) :) To make some progress on this I'll get ap_queue_push() to log something meaningful (which APR call failed, which error) and see if that sheds any light on it (perhaps EFAULT is the error?). -- Jeff Trawick | [EMAIL P

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

2002-02-19 Thread Jeff Trawick
DEFLATE text/html Why does this warrant a change to MMN? What module APIs have been changed/removed? (My guess is that it was reasonable to change it anyway to cover API changes like install_transport_filters -> pre_connection, but I'm curious about why you changed it with this commit.)

Re: Coredump on daedalus?

2002-02-19 Thread Jeff Trawick
es... right after the sendfile call, assert that if rv == 0 then it sent some bytes The problem is that after putting in such code, it may not hit for 6 months (or 6 minutes), so it is hard to get feedback in a timely basis. -- Jeff Trawick | [EMAIL PROTECTED] | PGP public key at

Re: has anybody seen worker segfaults?

2002-02-20 Thread Jeff Trawick
Brian Pane <[EMAIL PROTECTED]> writes: > Jeff Trawick wrote: > > >Maybe this is a hint... For a couple of the restart iterations, > >worker on AIX logs this: > > > >[crit] ap_queue_push failed with error code -1 > > > > In your AIX test enviro

Re: has anybody seen worker segfaults?

2002-02-21 Thread Jeff Trawick
Jeff Trawick <[EMAIL PROTECTED]> writes: > For some time some (but after 2.0.32), some tests I run have been > segfaulting around the time of a graceful restart. Has anybody else > seen something like this? > > [Tue Feb 19 10:31:43 2002] [notice] child pid 5367 exit sign

Re: has anybody seen worker segfaults?

2002-02-22 Thread Jeff Trawick
Aaron Bannert <[EMAIL PROTECTED]> writes: > On Thu, Feb 21, 2002 at 06:02:26PM -0500, Jeff Trawick wrote: > > I just tried to hit this on my Solaris x86 box with no luck. I did > > 200,000 simple requests with a SIGUSR1 sent to the parent ever 2 > > seconds. No

Re: has anybody seen worker segfaults?

2002-02-22 Thread Jeff Trawick
Jeff Trawick <[EMAIL PROTECTED]> writes: > For some time some (but after 2.0.32), some tests I run have been > segfaulting around the time of a graceful restart. Has anybody else > seen something like this? a new summary: Here are some failure scenarios found when doing a g

Re: has anybody seen worker segfaults?

2002-02-22 Thread Jeff Trawick
Aaron Bannert <[EMAIL PROTECTED]> writes: > On Fri, Feb 22, 2002 at 02:43:04PM -0500, Jeff Trawick wrote: > > > It is my understanding that FIN_WAIT_2 happens on the client side after > > > the client does an active close but before the server does a close. If > &

Re: has anybody seen worker segfaults?

2002-02-22 Thread Jeff Trawick
Jeff Trawick <[EMAIL PROTECTED]> writes: > b) 1 listening socket in Linux, where we don't need an accept >mutex (intermittent failure): > >[notice] child pid 18314 exit signal Segmentation fault (11) ... > d) Dale Ghent hit a segfault on Solaris 8 in ap_queue_

Re: has anybody seen worker segfaults?

2002-02-23 Thread Jeff Trawick
Jeff Trawick <[EMAIL PROTECTED]> writes: > t0 we need to fork() a new child for some reason > t1 we get the graceful restart prod on the pod BEFORE > the start_threads() thread has gotten dispatched and > initialized worker_queue &

Re: daemontools/foreground support in 1.3.*

2002-02-25 Thread Jeff Trawick
Mutex pthread where once we fixed the code to close a timing window we aren't always able to kill idle children? "The work-around is to use AcceptMutex foo." -- 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 config.layout

2002-02-26 Thread Jeff Trawick
/dav/main -I/usr/home/trawick/regress/httpd-2.0/srclib/apr-util/include -I/usr/home/trawick/regress/httpd-2.0/srclib/apr-util/xml/expat/lib -export-dynamic -o mod_echo.la -rpath {exec_prefix}/modules -module -avoid-version mod_echo.lo shlibtool: link: only absolute run-paths are allowed -- Je

Re: Use of Bugzilla?

2002-02-27 Thread Jeff Trawick
gs need to be > fixed for 2.0 and to track if anyone else is working on them. See showstoppers in httpd-2.0/STATUS for things to work on. Also, see Justin's recent post with subject "Please help kill httpd-2.0 bugs..." for other problems. -- Jeff Trawick | [EMAIL P

Re: OT: whither are we going?

2002-02-27 Thread Jeff Trawick
f the solution. Those are the people who have influence over when Apache 2.0 will be released. -- 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 configure.in acinclude.m4

2002-02-27 Thread Jeff Trawick
r set to something but instead it is set to nothing. Any clues? A bad default layout or something like that? -- 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/http http_protocol.c

2002-02-27 Thread Jeff Trawick
[EMAIL PROTECTED] writes: > jerenkrantz02/02/26 19:55:31 > > Modified:.CHANGES STATUS >modules/http http_protocol.c > Log: > Don't set bytes_sent to be 0 when r->assbackwards since this screws up > logging. kicking a

[1.3 PATCH/QUESTION] Win32 ap_os_is_filename_valid()

2002-02-27 Thread Jeff Trawick
if ((segstart[idx] > 0 && segstart[idx] < 32) || - strchr(invalid_characters, segstart[idx])) { + if ((segstart[idx] > 0 && segstart[idx] < 32)) { return 0; } } @@ -569,4 +567,4 @@ return errstr; } -#endif /

Re: cvs commit: httpd-2.0 configure.in acinclude.m4

2002-02-27 Thread Jeff Trawick
e change will be htdocs in $prefix/share/htdocs, > > which works with the autoconf defaults, but may not be what we want. This > > will require more work. > > I apoligise for this. This was necessary to get the installs working > again and may catch people off guard. I will

Re: PR 9785, SIGBUS with ExtendedStatus in scoreboard.c

2002-03-01 Thread Jeff Trawick
0x4 from the start of the page. Does anybody know about any documentation on alignment requirements? Should the shared memory code return storage on 8-byte alignment? -- Jeff Trawick | [EMAIL PROTECTED] | PGP public key at web site: http://www.geocities.com/SiliconValley/Park/9289/ Born in Roswell... married an alien...

[PATCH] fix alignment on shared memory

2002-03-01 Thread Jeff Trawick
Jeff Trawick <[EMAIL PROTECTED]> writes: > Aaron Bannert <[EMAIL PROTECTED]> writes: > > > Could this be what's causing the SIGBUS? My current theory is that > > there's a size mismatch betwen ws->conn_bytes (an apr_off_t) and > > the (unsigned

Re: [PATCH] fix alignment on shared memory

2002-03-01 Thread Jeff Trawick
Jeff Trawick <[EMAIL PROTECTED]> writes: > This patch gets me running again: > > Index: srclib/apr/shmem/unix/shm.c > === > RCS file: /home/cvs/apr/shmem/unix/shm.c,v > retrieving revision 1.14 > diff -

Re: [PATCH] fix alignment on shared memory

2002-03-01 Thread Jeff Trawick
s of any type can live in that storage. This currently isn't causing problems because the size of each structure is consistent with 64-bit alignment (208 bytes for worker_score, 24 bytes for global_score, 16 bytes for process_score), at least in a 32-bit build for Sparc. -- Jeff Trawick | [EMA

Re: [PATCH] fix alignment on shared memory

2002-03-01 Thread Jeff Trawick
Aaron Bannert <[EMAIL PROTECTED]> writes: > On Fri, Mar 01, 2002 at 12:34:49PM -0500, Jeff Trawick wrote: > > > > printf("%d %d %d %d\n", > >offsetof(struct s1,b), > >offsetof(struct s2,b), > >offsetof(

Re: [PATCH] fix alignment on shared memory

2002-03-01 Thread Jeff Trawick
) were right on when you suggested that it's > ap_calc_scoreboard_size() and ap_init_scoreboard()'s fault. Try this, for > example: Jeff calling Cliff and Aaron: apr_shm_baseaddr_get() returns addresses which aren't 64-bit aligned. That is broken. End of story. -- Jeff Trawick | [EMAIL

Re: [PATCH] fix alignment on shared memory

2002-03-01 Thread Jeff Trawick
Cliff Woolley <[EMAIL PROTECTED]> writes: > On 1 Mar 2002, Jeff Trawick wrote: > > > Jeff calling Cliff and Aaron: apr_shm_baseaddr_get() returns > > addresses which aren't 64-bit aligned. That is broken. End of story. > > Yeah, your last message cleare

Re: [PATCH] fix alignment on shared memory

2002-03-01 Thread Jeff Trawick
ched to avoid line wrapping) that is how I would have done it -- Jeff Trawick | [EMAIL PROTECTED] | PGP public key at web site: http://www.geocities.com/SiliconValley/Park/9289/ Born in Roswell... married an alien...

Re: Weird network problem with MPM_WORKER

2002-03-04 Thread Jeff Trawick
network interfaces had IPv6 addresses, so attempting to connect to :: (in6addr_any) resulted in ENETUNREACH. -- Jeff Trawick | [EMAIL PROTECTED] | PGP public key at web site: http://www.geocities.com/SiliconValley/Park/9289/ Born in Roswell... married an alien...

Re: Weird network problem with MPM_WORKER

2002-03-05 Thread Jeff Trawick
Pier Fumagalli <[EMAIL PROTECTED]> writes: > "Jeff Trawick" <[EMAIL PROTECTED]> wrote: > > > The Solaris fixes were required to fix a hang in getaddrinfo(). > > Yeah, looked at the archive and patched the whole baby before posting... > Didn't c

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

2002-03-05 Thread Jeff Trawick
ds in child process B As with the previous scenario, everything is working fine. There is no sense having a high-priority log message about an expected condition. -- Jeff Trawick | [EMAIL PROTECTED] | PGP public key at web site: http://www.geocities.com/SiliconValley/Park/9289/

Re: cvs commit: httpd-2.0 STATUS

2002-03-05 Thread Jeff Trawick
il in a way that worker treads know they should exit. And instead of exiting as soon as workers_may_exit is set, worker threads should exit once they get the magic queue-is-dead error from a pop operation. -- 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-03-05 Thread Jeff Trawick
Aaron Bannert <[EMAIL PROTECTED]> writes: > On Tue, Mar 05, 2002 at 04:53:23PM -0500, Jeff Trawick wrote: > > Here is the sequence of events: > > > > 1) a thread in child process A is waiting on semaphore > > 2) graceful restart triggered > > 3) paren

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

2002-03-05 Thread Jeff Trawick
Aaron Bannert <[EMAIL PROTECTED]> writes: > On Tue, Mar 05, 2002 at 05:07:38PM -0500, Jeff Trawick wrote: > > Aaron Bannert <[EMAIL PROTECTED]> writes: > > > > > On Tue, Mar 05, 2002 at 04:53:23PM -0500, Jeff Trawick wrote: > > > > Here is the seq

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

2002-03-05 Thread Jeff Trawick
Aaron Bannert <[EMAIL PROTECTED]> writes: > On Tue, Mar 05, 2002 at 07:02:46PM -0500, Jeff Trawick wrote: > > > Will they actually hold the semaphore while they are servicing long-lived > > > connections? > > > > no... the semaphore is held only during the

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

2002-03-06 Thread Jeff Trawick
at no autoconf is perfect -- or perfectly supported by Apache+APR -- and that maybe some debugging is appropriate before we start disallowing a very common version of autoconf.) -- Jeff Trawick | [EMAIL PROTECTED] | PGP public key at web site: http://www.geocities.com/SiliconValley/Park/9289/ Born in Roswell... married an alien...

proxy busted

2002-03-06 Thread Jeff Trawick
suse of r->proto_input_filters vs. r->input_filters on this path??? zzz -- 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] fix alignment on shared memory

2002-03-07 Thread Jeff Trawick
Cliff Woolley <[EMAIL PROTECTED]> writes: > On Fri, 1 Mar 2002, Cliff Woolley wrote: > > > Does this look right? (attached to avoid line wrapping) > > Hmm, no, it doesn't. :-/ Scratch that. Back to the drawing board. What was wrong with it? -- Jeff Trawick | [

Re: proxy busted

2002-03-07 Thread Jeff Trawick
fix with no luck (and worse, no understanding :) ). > Make_fake_proxy_req isn't > setting r->proto_input_filters or r->proto_output_filters. That means > that the rest of the logic is wrong. I'll try to get around to fixing >

Re: cvs commit: httpd-2.0/modules/proxy mod_proxy.h proxy_connect.c proxy_http.c proxy_util.c

2002-03-09 Thread Jeff Trawick
not > >configured to allow IPv6 sockets. > > Is it possible to apply this same fix to v1.3 as well? Or does it not > matter (does 1.3 support IPv6?)...? 1.3 doesn't support IPv6 (the KAME project has a rather large patch to add IPv6 support to 1.3). It would be useful

Re: cvs commit: httpd-2.0/modules/proxy mod_proxy.c

2002-03-09 Thread Jeff Trawick
ionally define APR_MAX() and APR_MIN() rather than trying to define MAX() (or MIN) where it isn't defined. Since MAX() isn't standard by any means, if we defined it we would become the bad guys w.r.t. namespace protection if we defined it. -- Jeff Trawick | [EMAIL PROTECTED] | PGP public

Re: httpd-2.0 CVS HEAD build fails

2002-03-09 Thread Jeff Trawick
: `APR_PROC_DETACH_FOREGROUND' undeclared (first use in > this function) Is your apr_thread_proc.h up to date? (Answer: "no" :) ) -- Jeff Trawick | [EMAIL PROTECTED] | PGP public key at web site: http://www.geocities.com/SiliconValley/Park/9289/ Born in Roswell... married an alien...

Re: apr_file_open change

2002-03-10 Thread Jeff Trawick
ubj seems better as more general solution. > > What do you think? Should i post a patch here? FYI... [EMAIL PROTECTED] is the proper discussion forum for this. -- Jeff Trawick | [EMAIL PROTECTED] | PGP public key at web site: http://www.geocities.com/SiliconValley/Park/9289/ Born in Roswell... married an alien...

Re: Minor(?) style questions

2002-03-11 Thread Jeff Trawick
. +1! > I would be in favor of > adding 2) to the existing guidelines +0.4 (slightly nicer style IMHO, but such a specification conflicts with desire to keep the style guidelines simple) > and leaving 1) and 2) personal choice. if you mean "leaving 1) and 3) personal choice": +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: Code questions (server/mpm_common.c)

2002-03-11 Thread Jeff Trawick
u're left with a trade-off between compactness vs. using a style that can be extended if more work is added later) -- Jeff Trawick | [EMAIL PROTECTED] | PGP public key at web site: http://www.geocities.com/SiliconValley/Park/9289/ Born in Roswell... married an alien...

Re: status of mod_status

2002-03-11 Thread Jeff Trawick
ng/available yet in the new scoreboard. The HAVE_TIMES code is live. At least I see that HAVE_TIMES is defined in my ap_config_auto.h server/scoreboard.c fills in some information when HAVE_TIMES is defined mod_status seems to do something with that information -- Jeff Trawick | [EMAIL PROTECT

Re: Code questions (server/mpm_common.c)

2002-03-11 Thread Jeff Trawick
"Sander Striker" <[EMAIL PROTECTED]> writes: > > plenty of ways to skin a cat, all of them good > > As a cat owner I sincerely how this is a figure of speech... :) if only you knew our cat :) -- Jeff Trawick | [EMAIL PROTECTED] | PGP public key at web site:

Re: FW: zlib vulnerability

2002-03-11 Thread Jeff Trawick
"Ryan Bloom" <[EMAIL PROTECTED]> writes: > We should probably do something about this, but I'm not sure what. I thought the zlib vulnerability was in the decompress path. mod_deflate doesn't decompress. -- Jeff Trawick | [EMAIL PROTECTED] | PGP public

Re: [PATCH] Prevent possible segv

2002-03-12 Thread Jeff Trawick
gt; - */ > +} > + > +strncpy(buffer + *len, tag, taglen); > endbody = strstr(buffer, tag); > - if (!endbody) { > +if (!endbody || endbody == buffer + *len) { > return -1; > } > bodylen = endbody - buffer; > -- Jeff Trawick | [EMAIL PROTECTED] Born in Roswell... married an alien...

Re: Coredump on daedalus?

2002-03-12 Thread Jeff Trawick
Jeff Trawick <[EMAIL PROTECTED]> writes: > Justin Erenkrantz <[EMAIL PROTECTED]> writes: > > > One so far in /usr/local/apache/corefiles/httpd.core.1, but I'm not > > sure how this even happened: > > I looked at this today. It is an oldie but a

Re: [PATCH] Prevent possible segv

2002-03-12 Thread Jeff Trawick
"Sander Striker" <[EMAIL PROTECTED]> writes: > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED]]On Behalf Of Jeff Trawick > > Sent: 12 March 2002 13:56 > > > "Sander Striker" <[EMAIL PROTECTED]> writes: > > > > >

dumb questions on a couple of the current 2.0 showstoppers

2002-03-12 Thread Jeff Trawick
bucket allocation * Pool allocator change Can anybody comment on the current status of either of these? Is there work available for the masses to do? Can we get the API changes committed Real Soon Now even if the new behavior isn't yet ready? Thanks, -- Jeff Trawick |

Re: dumb questions on a couple of the current 2.0 showstoppers

2002-03-12 Thread Jeff Trawick
Charlottesville on Thursday I'll finish up and commit > whatever part of the buckets change I can depending on the pool patch > status. Dang, that's exactly what I wanted to hear :) -- Jeff Trawick | [EMAIL PROTECTED] Born in Roswell... married an alien...

Re: [PATCH] Solaris sockets for support/ab.c (httpd-2_0_32-beta)

2002-03-13 Thread Jeff Trawick
. Personally, I think it is better if you put "ulimit -n unlimited" in your shell init script rather than adding the logic to ab. -- Jeff Trawick | [EMAIL PROTECTED] Born in Roswell... married an alien...

Re: [patch server/scoreboard.c] creating ws->thread_num

2002-03-13 Thread Jeff Trawick
&& old_status == SERVER_STARTING) { > -ws->thread_num = child_num * server_limit + thread_num; > +ws->thread_num = child_num * thread_limit + thread_num; you're right, of course :) Worker MPM does the calculation the same way. committed... Thanks! -- Jeff Trawick | [EMAIL PROTECTED] Born in Roswell... married an alien...

Re: how to debug worker mpm httpd with gdb?

2002-03-13 Thread Jeff Trawick
My 2 cents: Keep using Linux when a fast build time is imperative or you're debugging non-threaded apps. Use AIX or Solaris with native tools when you want to debug threaded apps. It sucks :( -- Jeff Trawick | [EMAIL PROTECTED] Born in Roswell... married an alien...

Re: [patch modules/generators/mod_status.c]

2002-03-13 Thread Jeff Trawick
+ ((ws_record.stop_time - ws_record.start_time) / 1000)); > +((ws_record.stop_time - ws_record.start_time) / 1000); > #endif > if (req_time < 0L) > req_time = 0L; I'll commit this shortly. -- Jeff Trawick | [EMAIL PROTECTED] Born in Roswell... married an alien...

Re: status of mod_status

2002-03-13 Thread Jeff Trawick
TIMES > -if (ws_record.start_time == (clock_t)0) > -req_time = 0L; > -else { > -req_time = ws_record.stop_time - ws_record.start_time; > -req_time = (req_time * 1000) / (int)tick; > -} > -#els

[PATCH] PR 10138 /mycgi vs. /mycgi/ with FollowSymLinks

2002-03-13 Thread Jeff Trawick
file but we have '/' at the end of the name; + * + * other OSs will return APR_ENOTDIR for that situation; + * + * handle it the same everywhere + */ +if (r->finfo.filetype == APR_REG && +r->filename[strlen(r->filename) -

Re: [PATCH] Solaris sockets for support/ab.c (httpd-2_0_32-beta)

2002-03-13 Thread Jeff Trawick
"Martin Ramshaw" <[EMAIL PROTECTED]> writes: > > On Wed, 13 Mar 2002 04:18:00AM -0800, Justin Erenkrantz wrote: > > >On Wed, Mar 13, 2002 at 07:05:45AM -0500, Jeff Trawick wrote: > > > > "Martin Ramshaw" <[EMAIL PROTECTED]> writes: &

PR 10163, location of config_vars.mk

2002-03-13 Thread Jeff Trawick
der why it isn't there already. Are there any problems with that? -- Jeff Trawick | [EMAIL PROTECTED] Born in Roswell... married an alien...

Re: [1.3 PATCH/QUESTION] Win32 ap_os_is_filename_valid()

2002-03-13 Thread Jeff Trawick
Jeff Trawick <[EMAIL PROTECTED]> writes: > This function is checking for several characters which, at least in > ASCII, are supposedly not valid characters for filenames. But some of > these same characters can appear in valid non-ASCII filenames, and the > logic to check fo

Re: [1.3 PATCH/QUESTION] Win32 ap_os_is_filename_valid()

2002-03-13 Thread Jeff Trawick
Justin Erenkrantz <[EMAIL PROTECTED]> writes: > On Wed, Mar 13, 2002 at 02:12:18PM -0500, Jeff Trawick wrote: > > Jeff Trawick <[EMAIL PROTECTED]> writes: > > > > > This function is checking for several characters which, at least in > > > ASCII, are

Re: [1.3 PATCH/QUESTION] Win32 ap_os_is_filename_valid()

2002-03-13 Thread Jeff Trawick
"Roy T. Fielding" <[EMAIL PROTECTED]> writes: > On Wed, Mar 13, 2002 at 02:12:18PM -0500, Jeff Trawick wrote: > > Jeff Trawick <[EMAIL PROTECTED]> writes: > > > > > This function is checking for several characters which, at least in > > > A

Re: [1.3 PATCH/QUESTION] Win32 ap_os_is_filename_valid()

2002-03-13 Thread Jeff Trawick
Any other configuration is unsupported. Apache 2.0 introduces the UTF-8 convention to access any filenames and resources in a predictable and safe manner. The implementation of this feature is too extensive to consider backporting to Apache 1.3. -- Jeff Trawick | [EMAIL PROTECTED] Born in Roswell... married an alien...

Re: [PATCH modules/generators/mod_status.c] performance

2002-03-14 Thread Jeff Trawick
_record.status == SERVER_DEAD)) { + continue; +} -- Jeff Trawick | [EMAIL PROTECTED] Born in Roswell... married an alien...

Re: [PATCH] PR 10138 /mycgi vs. /mycgi/ with FollowSymLinks

2002-03-14 Thread Jeff Trawick
Jeff Trawick <[EMAIL PROTECTED]> writes: > The same testcase works on Linux. The OS behavior which is different > is that on Solaris (and AIX and maybe others) returns 0 for > stat("prefix/mycgi/") whereas Linux (and FreeBSD and maybe others) > returns -1/ENOTDIR

Re: [PATCH] mod_mime.c

2002-03-14 Thread Jeff Trawick
n Feb 4 09:30:46 2002 > @@ -736,6 +736,14 @@ > const char *fn, *type, *charset = NULL; > int found_metadata = 0; > > +/* To allow broken modules to proceed, we allow missing filenames to > pass. In need of a clue, -- Jeff Trawick | [EMAIL PROTECTED] Born in Roswell... married an alien...

Re: [1.3 PATCH/QUESTION] Win32 ap_os_is_filename_valid()

2002-03-14 Thread Jeff Trawick
is unsupported. Apache 2.0 introduces the UTF-8 convention to access any filenames and resources in a predictable and safe manner. The implementation of this feature is too extensive to consider backporting to Apache 1.3. -- Jeff Trawick | [EMAIL PROTECTED] Born in Roswell... married an alien...

Re: [1.3 PATCH/QUESTION] Win32 ap_os_is_filename_valid()

2002-03-14 Thread Jeff Trawick
"Martin Ramshaw" <[EMAIL PROTECTED]> writes: > Anyhow, that's all I have to say on this subject. I promise to say no more, so > save > any flames. Did you get flamed here? -- Jeff Trawick | [EMAIL PROTECTED] Born in Roswell... married an alien...

Re: [PATCH modules/generators/mod_status.c] performance

2002-03-15 Thread Jeff Trawick
I guess I shouldn't try to simultaneously commit code and try to get my daughter to wake up and eat breakfast because I forgot to add a "Submitted by:" to the commit. Sorry! -- Jeff Trawick | [EMAIL PROTECTED] Born in Roswell... married an alien...

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

2002-03-15 Thread Jeff Trawick
ls, but the point to the > apr_file and apr_filepath functions were to normalize many > different OS'es into similar behavior. You wouldn't need to > actually stat() a file to reject from apr_open(), either. Simply > testing for a trailing slash would be sufficient. I can buy that argument. I'll put something in APR's STATUS file. -- Jeff Trawick | [EMAIL PROTECTED] Born in Roswell... married an alien...

Re: [PATCH modules/generators/mod_status.c] performance

2002-03-15 Thread Jeff Trawick
imply to say: > > if (ap_extended_status && !short_report) { > if (no_table_report) > > for (i = 0; i < server_limit; ++i) { > for (j = 0; j < thread_limit; ++j) { > ... > } > } > } gotcha! I'll commit so

[PATCH] PRs 8902, 8907, 9983: get nph scripts working

2002-03-15 Thread Jeff Trawick
ll(r->pool, (void *)sd, close_unix_socket); +r->assbackwards = 1;/* tell core not to generate headers */ bb = apr_brigade_create(r->pool); b = apr_bucket_pipe_create(tempsock); APR_BRIGADE_INSERT_TAIL(bb, b); -- Jeff Trawick | [EMAIL PROTECTED] Born in Roswell... married an alien...

Re: Bugzilla projects setup...

2002-03-17 Thread Jeff Trawick
s is just a statement of my own preferred way to find out about bugs and whether or not anybody is working on them. -- Jeff Trawick | [EMAIL PROTECTED] Born in Roswell... married an alien...

Re: Do graceful restarts actually work anywhere?

2002-03-18 Thread Jeff Trawick
t I wonder if our SIGHUP handler changes based on whether it is initial startup (MPM didn't get a chance to run yet?) or after a restart (MPM had registered a SIGHUP handler on the previous generation which is inherited in the cgid child process). More playing required. -- Jeff Trawick | [EMAIL PROTECTED] Born in Roswell... married an alien...

Re: [PATCH] AddOutputFiltersbyType (revised)

2002-03-19 Thread Jeff Trawick
e() to see if the content-type changed from the last time we checked? (but I guess ap_pass_brigade() isn't supposed to know this information) -- Jeff Trawick | [EMAIL PROTECTED] Born in Roswell... married an alien...

Re: [PATCH] AddOutputFiltersbyType (revised)

2002-03-19 Thread Jeff Trawick
"Sander Striker" <[EMAIL PROTECTED]> writes: > > From: [EMAIL PROTECTED] On Behalf Of Jeff Trawick > > Sent: 19 March 2002 15:14 > > > "Bill Stoddard" <[EMAIL PROTECTED]> writes: > > > >> Introduces ap_rset_content_type()...

Re: [2bugs] socket types and socket private data

2002-03-19 Thread Jeff Trawick
re-dependent networkio.h header (which is > bad by nature). A simple apr_socket_type function would do.. my suggestion: post the description of the second issue to [EMAIL PROTECTED] with subject "need to find type of socket"; patch optional, but it is simple so why not? I'd suggest ap

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

2002-03-20 Thread Jeff Trawick
even more interesting (to me) is the question "how haven't we been segfaulting in unix on restarts even when we build with electric fence and pool debug, time after time after time" :) maybe somebody can make us both happy with the answer -- Jeff Trawick | [EMAIL PROTECTED] Born in Roswell... married an alien...

questions about Apache 2.0 on Solaris 7

2002-03-20 Thread Jeff Trawick
y apparent problems Thanks! -- Jeff Trawick | [EMAIL PROTECTED] Born in Roswell... married an alien...

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

2002-03-20 Thread Jeff Trawick
art now broken? (There is plenty of opportunity for me to be confused here.) Can you remind me what was broken before this commit? -- Jeff Trawick | [EMAIL PROTECTED] Born in Roswell... married an alien...

Re: new compile errors on 2.0 cvs head

2002-03-20 Thread Jeff Trawick
before committing the patch, didn;t see any new > warnings so committed it. I must have a setting off in my VC++ 6.0 configuration... try grabbing my very recent commit to http_protocol.c and http_protocol.h... I made the parm to ap_rset_content_type() const char * instead of char * -- Jeff

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

2002-03-20 Thread Jeff Trawick
il there is some resolution on how it should be handled (should MPM have to clean up, should scoreboard-create clean up when it realizes that it doesn't have to reallocate, etc.). -- Jeff Trawick | [EMAIL PROTECTED] Born in Roswell... married an alien...

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

2002-03-20 Thread Jeff Trawick
Jeff Trawick <[EMAIL PROTECTED]> writes: > [EMAIL PROTECTED] writes: > > > On 20 Mar 2002 [EMAIL PROTECTED] wrote: > > > > > wrowe 02/03/19 20:29:55 > > > > > > Modified:server/mpm/winnt mpm_winnt.c > > > Log: > >

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

2002-03-20 Thread Jeff Trawick
it doesn't lead anybody down the wrong path. Also, I think I'll put in a debug message every 180 iterations (3 minutes) if the child process hasn't made any progress taking over more slots. -- Jeff Trawick | [EMAIL PROTECTED] Born in Roswell... married an alien...

Re: questions about Apache 2.0 on Solaris 7

2002-03-20 Thread Jeff Trawick
upgrade to Solaris 8 if you really want IPv6 code that has been updated recently. -- Jeff Trawick | [EMAIL PROTECTED] Born in Roswell... married an alien...

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

2002-03-20 Thread Jeff Trawick
and MPM are: default, fcntl, sysvsem, pthread. Isn't that the message for httpd -L output? The 1.3 startup message is something like this: [notice] Accept mutex: fcntl (Default: fcntl) much more appropriate -- Jeff Trawick | [EMAIL PROTECTED] Born in Roswell... married an alien...

this a.m. how do we get a cleared scoreboard after apachectl restart?

2002-03-20 Thread Jeff Trawick
If there is no such logic right now: Is the WinNT MPM gonna puke if ap_create_scoreboard() clears it (but preserving running_generation) in the already-have-a-scoreboard path? -- Jeff Trawick | [EMAIL PROTECTED] Born in Roswell... married an alien...

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

2002-03-20 Thread Jeff Trawick
Jim Jagielski <[EMAIL PROTECTED]> writes: > Jeff Trawick wrote: > > > > > Bring 2.0 up to parity, a bit, with how much info we provide to > > > the admin regarding valid values for AcceptMutex. Should also > > > tell 'em what "default&qu

Re: APR_LOCK_DEFAULT ordering

2002-03-20 Thread Jeff Trawick
f we don't bring forward the cases where the priorities aren't even used. -- Jeff Trawick | [EMAIL PROTECTED] Born in Roswell... married an alien...

Re: APR_LOCK_DEFAULT ordering

2002-03-20 Thread Jeff Trawick
Jim Jagielski <[EMAIL PROTECTED]> writes: > Jeff Trawick wrote: > > > > Jim Jagielski <[EMAIL PROTECTED]> writes: > > > > > Are people happy with the priority order of the accept mutex? > > > Right now it's flock -> sysvsem -&g

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

2002-03-20 Thread Jeff Trawick
Jeff Trawick <[EMAIL PROTECTED]> writes: > Jim Jagielski <[EMAIL PROTECTED]> writes: > > > Jeff Trawick wrote: > > > > > > > Bring 2.0 up to parity, a bit, with how much info we provide to > > > > the admin regarding valid va

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

2002-03-20 Thread Jeff Trawick
he lock stuff settles, unless it bothers you enough > that you'd like it folded in now :) No big hurry... I just didn't think it was intended to be the way it is currently committed. -- Jeff Trawick | [EMAIL PROTECTED] Born in Roswell... married an alien...

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

2002-03-20 Thread Jeff Trawick
... but that will be fixed soon enough and we're left with something more subtle that seems to have been present for a while -- Jeff Trawick | [EMAIL PROTECTED] Born in Roswell... married an alien...

Re: this a.m. how do we get a cleared scoreboard after apachectl restart?

2002-03-20 Thread Jeff Trawick
forget about it and assume that clearing the scoreboard in ap_create_scoreboard() is good for everybody. -- Jeff Trawick | [EMAIL PROTECTED] Born in Roswell... married an alien...

anybody seeing socket-related segfaults today?

2002-03-20 Thread Jeff Trawick
n AIX for some hours, so I don't know when the problem was introduced/exposed. -- Jeff Trawick | [EMAIL PROTECTED] Born in Roswell... married an alien...

Re: anybody seeing socket-related segfaults today?

2002-03-20 Thread Jeff Trawick
x27;t see any connection at the moment though. I see from your post there's probably some other bad stuff happening with pools today, or we're both getting bit by the same problem :) -- Jeff Trawick | [EMAIL PROTECTED] Born in Roswell... married an alien...

<    3   4   5   6   7   8   9   10   11   12   >