mirror of mongrel-development@rubyforge.org (inactive)
 help / color / mirror / Atom feed
From: "Luis Lavena" <luislavena-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: mongrel-development-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org
Subject: Re: Mongrel and Windows: I was so dumb
Date: Mon, 31 Mar 2008 01:25:34 -0300	[thread overview]
Message-ID: <71166b3b0803302125m1db26236m25ba80c317fb0c3b@mail.gmail.com> (raw)
In-Reply-To: <b6f68fc60803302104k54416616tee31f8770af5543c-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

On Mon, Mar 31, 2008 at 1:04 AM, Evan Weaver <evan-72XWLPH10WVXUHR/Jj/Uug@public.gmane.org> 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

  parent reply	other threads:[~2008-03-31  4:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-31  3:57 Mongrel and Windows: I was so dumb Luis Lavena
     [not found] ` <71166b3b0803302057k7ade0b07r71cf8929c4fe1bcf-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-03-31  4:04   ` Evan Weaver
     [not found]     ` <b6f68fc60803302104k54416616tee31f8770af5543c-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-03-31  4:25       ` Luis Lavena [this message]
     [not found]         ` <71166b3b0803302125m1db26236m25ba80c317fb0c3b-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-03-31  4:27           ` Evan Weaver
2008-03-31  4:29       ` Luis Lavena
replies disabled, historical list

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).