[Mongrel] Graceful stop in, timeouts out (for now)
zedshaw at zedshaw.com
Tue Feb 21 09:03:47 EST 2006
Yeah, win32 means any windows system (XP, 2000, etc.). I'll play with it
What I do is I just run the commands directly in the source with:
ruby -Ilib bin/mongrel_rails start
ruby -Ilib examples/simpletest.rb localhost 3000 doc/rdoc
Is that what you needed?
On 2/21/06 8:39 AM, "Luis Lavena" <luislavena at gmail.com> wrote:
> btw, where you put mongrel on ruby (or reference it) to have in
> verison control (in your working copy) and allow you test without
> installing it as gem?
> On 2/21/06, Luis Lavena <luislavena at gmail.com> wrote:
>> By "win32" you mean "Windows XP" or "Windows 2000"?
>> I been using examples/simpletest.rb to try your modifications (the
>> graceful shutdown and the Interrupt/trap catcher)
>> What didn't work was the trap catcher, actually it requires you
>> generate a new "hit" (or is named request?) after hitting ctrl-c for
>> the HttpServer actually raise the Interrupt. No page get served before
>> stop, just the incoming connection think that allow raising the
>> With Ctrl-Pause it break/stop execution, but the graful shutdown part
>> never get raised.
>> Will work today in the rails part.
More information about the Mongrel-users