Return-Path: Delivered-To: apmail-perl-dev-archive@www.apache.org Received: (qmail 28343 invoked from network); 16 Mar 2007 08:16:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Mar 2007 08:16:11 -0000 Received: (qmail 82589 invoked by uid 500); 16 Mar 2007 08:16:19 -0000 Delivered-To: apmail-perl-dev-archive@perl.apache.org Received: (qmail 82574 invoked by uid 500); 16 Mar 2007 08:16:18 -0000 Mailing-List: contact dev-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@perl.apache.org Received: (qmail 82563 invoked by uid 99); 16 Mar 2007 08:16:18 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Mar 2007 01:16:18 -0700 X-ASF-Spam-Status: No, hits=0.8 required=10.0 tests=INFO_TLD X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [64.127.99.51] (HELO app.redhotpenguin.com) (64.127.99.51) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Mar 2007 01:16:08 -0700 Received: (qmail 25842 invoked by uid 1005); 16 Mar 2007 01:15:47 -0700 Received: from c-24-7-60-203.hsd1.ca.comcast.net (HELO [192.168.2.5]) (24.7.60.203) (smtp-auth username fred@redhotpenguin.com, mechanism plain) by app.redhotpenguin.com (qpsmtpd/0.31.1) with ESMTP; Fri, 16 Mar 2007 01:15:40 -0700 Message-ID: <45FA5268.5030100@taperfriendlymusic.org> Date: Fri, 16 Mar 2007 01:16:40 -0700 From: Fred Moyer User-Agent: Thunderbird 1.5.0.10 (Macintosh/20070221) MIME-Version: 1.0 To: Matt Sergeant CC: dev@perl.apache.org Subject: Re: Fwd: Apache::Reload crash patch References: <2289D799-3595-492B-908C-4AE04F82CA62@richard-group.com> <75A864FB-F487-4104-A801-41CEBD727C92@sergeant.org> In-Reply-To: <75A864FB-F487-4104-A801-41CEBD727C92@sergeant.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Check-By: app.redhotpenguin.com X-Old-Spam-Status: No, hits=0.0 required=5.0 tests= Matt Sergeant wrote: > Now that A::R is managed by you guys :-) I can dig up some tuits to make this change if the list approves. Last I looked we had your CLA on file, and a "please take it" [1], so I think if you gave us a version control dump (if possible) I could add this to the mod_perl trunk ala trunk/(Apache-Test|ModPerl-Registry). I'm willing to take on the RM duties if the PMC says make it so. I know everyone here has been low on tuits, but I think I can get to a point where it only needs a couple of couple of +1's to release by following the previous release steps in the list archives. [1] http://marc.info/?l=apache-modperl-dev&m=117079240506221&w=2 > > Begin forwarded message: > >> From: Liam Bryan >> Date: March 15, 2007 8:36:39 AM EDT (CA) >> To: matt@sergeant.org >> Cc: Richard Joel >> Subject: Apache::Reload crash patch >> >> Matt: >> >> At our company, we use the Apache::Reload module in most of our >> production installations, since we will often need to make adjustments >> without a restart of Apache. We manage multiple sites; and put >> site-specific customizations into separate .pm files. But, if one of >> these custom modules throws a compile error, then Apache::Reload will >> crash on line 158: >> >> Compilation failed in require at >> /Library/Perl/5.8.7/darwin-2level/Apache/Reload.pm line 158. >> >> Unfortunately, this error is thrown in Apache, and thus crashes every >> site we're managing, not just the specific customized site. We found >> that by wrapping the particular error with an eval{} and then trapping >> $@, we could prevent this error from cascading across all of our >> managed sites. Here's what we've customized it to be: >> >> >> eval {require $key;}; >> warn("Apache::Reload: FAILED $package:\n\t$@") if $@; >> >> The eval{} does add some overhead, but a fairly negligible amount. >> >> If you'd like more detail, feel free to ask me. Thanks! >> >> >> Liam Bryan >> The Richard Group, Inc. >> liam@richard-group.com >> http://richard-group.com >> 703.584.5804 >> >> > > > ______________________________________________________________________ > This email has been scanned by the MessageLabs Email Security System. > For more information please visit > http://www.messagelabs.com/email______________________________________________________________________ > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org > For additional commands, e-mail: dev-help@perl.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org For additional commands, e-mail: dev-help@perl.apache.org