From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Evan Weaver" Newsgroups: gmane.comp.lang.ruby.mongrel.devel Subject: Re: Mongrel and Windows: I was so dumb Date: Mon, 31 Mar 2008 00:27:25 -0400 Message-ID: References: <71166b3b0803302057k7ade0b07r71cf8929c4fe1bcf@mail.gmail.com> <71166b3b0803302125m1db26236m25ba80c317fb0c3b@mail.gmail.com> Reply-To: mongrel-development-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1206937654 16832 80.91.229.12 (31 Mar 2008 04:27:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 31 Mar 2008 04:27:34 +0000 (UTC) To: mongrel-development-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Original-X-From: mongrel-development-bounces-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Mon Mar 31 06:28:05 2008 Return-path: Envelope-to: gclrmd-mongrel-development@m.gmane.org In-Reply-To: <71166b3b0803302125m1db26236m25ba80c317fb0c3b-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> Content-Disposition: inline X-Google-Sender-Auth: e5bb4b5e9286aeb9 X-BeenThere: mongrel-development-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: mongrel-development-bounces-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Errors-To: mongrel-development-bounces-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Xref: news.gmane.org gmane.comp.lang.ruby.mongrel.devel:29 Archived-At: Received: from rubyforge.org ([205.234.109.19]) by lo.gmane.org with esmtp (Exim 4.50) id 1JgBcr-0001sN-6G for gclrmd-mongrel-development@m.gmane.org; Mon, 31 Mar 2008 06:28:05 +0200 Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id C54731858688; Mon, 31 Mar 2008 00:27:26 -0400 (EDT) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.230]) by rubyforge.org (Postfix) with ESMTP id C00031858667 for ; Mon, 31 Mar 2008 00:27:25 -0400 (EDT) Received: by wx-out-0506.google.com with SMTP id t14so4363073wxc.29 for ; Sun, 30 Mar 2008 21:27:26 -0700 (PDT) Received: by 10.114.173.15 with SMTP id v15mr9196101wae.63.1206937645391; Sun, 30 Mar 2008 21:27:25 -0700 (PDT) Received: by 10.114.205.10 with HTTP; Sun, 30 Mar 2008 21:27:25 -0700 (PDT) List-Post: All sounds good. Fastthread and cgi_multipart are going away so there is no sense worrying about them. In 1.2 they get required if they are installed, but they are not gem dependencies for any platform. Evan On Mon, Mar 31, 2008 at 12:25 AM, Luis Lavena wrote: > On Mon, Mar 31, 2008 at 1:04 AM, Evan Weaver wrote: > > Wow, that is bizarre. > > > > The platform checks are fine. Do they belong in Mongrel, or do they > > belong in the build chain? > > > > Specific platform usage inside mongrel: > > - To writer or not the pid file: > > http://mongrel.rubyforge.org/browser/trunk/lib/mongrel/configurator.rb#L83 > > (which is pointless, it should generate the pid file on every > platform, even Windows). > > - Allow or not daemonize: > > http://mongrel.rubyforge.org/browser/trunk/lib/mongrel/configurator.rb#L189 > > Which is fair, it should remain there > > - Setup signals: > > http://mongrel.rubyforge.org/browser/trunk/lib/mongrel/configurator.rb#L364 > > Which is also good. > > Other places: > > http://mongrel.rubyforge.org/browser/trunk/bin/mongrel_rails#L139 > > the usage of restart on Windows, seems logical, since there are no > signals to handle it. > > Oh, a good catch: > > http://mongrel.rubyforge.org/browser/trunk/bin/mongrel_rails#L85 > > Mongrel should validate pre-existing pids always, not only in > daemonize mode. Thoughts? > > To use or not fastthread and cgi eof fix. > > http://mongrel.rubyforge.org/browser/trunk/lib/mongrel.rb#L13 > > Of course, a few more check on the new Logger (buffered logger) and > cgi_multipart eof subproject. Fastthread, GemPlugin and even > mongrel_service (yeah, I plain suck at planing on the long run). > > -- > > > Luis Lavena > Multimedia systems > - > Human beings, who are almost unique in having the ability to learn from > the experience of others, are also remarkable for their apparent > disinclination to do so. > Douglas Adams > _______________________________________________ > Mongrel-development mailing list > Mongrel-development-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org > http://rubyforge.org/mailman/listinfo/mongrel-development > -- Evan Weaver Cloudburst, LLC