From mboxrd@z Thu Jan 1 00:00:00 1970 Delivered-To: chneukirchen@gmail.com Received: by 10.229.87.136 with SMTP id w8cs10153qcl; Thu, 20 Jan 2011 00:06:06 -0800 (PST) Return-Path: Received-SPF: pass (google.com: domain of rack-devel+bncCOy6te3-BxDr2d_pBBoE2D4IDg@googlegroups.com designates 10.224.60.69 as permitted sender) client-ip=10.224.60.69; Authentication-Results: mr.google.com; spf=pass (google.com: domain of rack-devel+bncCOy6te3-BxDr2d_pBBoE2D4IDg@googlegroups.com designates 10.224.60.69 as permitted sender) smtp.mail=rack-devel+bncCOy6te3-BxDr2d_pBBoE2D4IDg@googlegroups.com; dkim=pass header.i=rack-devel+bncCOy6te3-BxDr2d_pBBoE2D4IDg@googlegroups.com Received: from mr.google.com ([10.224.60.69]) by 10.224.60.69 with SMTP id o5mr195560qah.8.1295510766231 (num_hops = 1); Thu, 20 Jan 2011 00:06:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=domainkey-signature:x-beenthere:date:from:reply-to:to:message-id :in-reply-to:subject:mime-version:x-original-sender:precedence :mailing-list:list-id:list-post:list-help:list-archive:sender :list-subscribe:list-unsubscribe:content-type; bh=vqXWgOjYzc3OXfGrbdtWpDK/aXjSiSZ70p7hrrrFrmU=; b=ypSXoi8vz5CkSXGjxd0PmMYBO3lbWIRzRHCuU18/RC+e+AEKCoOcHSLw8ItjYYDBmm mcZ84wltoMQezMmlfdJ4UT9yhduUzcZW30sPzrz9IoJyFlfVi0nXZCpddjMoOdd+DUXZ /839agx7koamc1ZTGRr9DRRhtRISFOai9HXkA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlegroups.com; s=beta; h=x-beenthere:date:from:reply-to:to:message-id:in-reply-to:subject :mime-version:x-original-sender:precedence:mailing-list:list-id :list-post:list-help:list-archive:sender:list-subscribe :list-unsubscribe:content-type; b=ggdBq9ymknCvnJ7RnghHtuzpRXDruXjRx/63eS27QooUQmCebeFHazv0LrGMS3fJdq Al6EH28+m5hzN0NFnGAp+L1gbwiX4qRiJI/bP6/ScdSqNm39wPkTZvxOXUBn174mKAxW Lvb1gaaRIbCO9LHvHQh7FtI77HiW7F3EhlMa0= Received: by 10.224.60.69 with SMTP id o5mr49539qah.8.1295510763884; Thu, 20 Jan 2011 00:06:03 -0800 (PST) X-BeenThere: rack-devel@googlegroups.com Received: by 10.224.172.73 with SMTP id k9ls76850qaz.2.p; Thu, 20 Jan 2011 00:06:02 -0800 (PST) Received: by 10.224.19.145 with SMTP id a17mr183354qab.1.1295510762283; Thu, 20 Jan 2011 00:06:02 -0800 (PST) Received: by 10.224.60.73 with SMTP id o9mr13318qah.54.1295469220137; Wed, 19 Jan 2011 12:33:40 -0800 (PST) Date: Wed, 19 Jan 2011 12:33:39 -0800 (PST) From: Alex Chaffee Reply-To: rack-devel@googlegroups.com To: rack-devel@googlegroups.com Message-ID: <30804305.1700.1295469219531.JavaMail.geo-discussion-forums@vbxq13> In-Reply-To: Subject: Re: ctrl-c not working in Rack::Handler::WEBrick MIME-Version: 1.0 X-Original-Sender: alexch@gmail.com Precedence: list Mailing-list: list rack-devel@googlegroups.com; contact rack-devel+owners@googlegroups.com List-ID: List-Post: , List-Help: , List-Archive: Sender: rack-devel@googlegroups.com List-Subscribe: , List-Unsubscribe: , Content-Type: multipart/alternative; boundary="----=_Part_1699_20685114.1295469219528" ------=_Part_1699_20685114.1295469219528 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit So to be clear (and to educate others who, like me, found this page after googling "rack webrick handler interrupt") -- when you want to invoke a Rack server programmatically, instead of Rack::Handler.default.run(app, options) ...the correct behavior is to use Rack::Server.start(options) ...right? ------=_Part_1699_20685114.1295469219528 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable So to be clear (and to educate others who, like me, found this page after g= oogling "rack webrick handler interrupt") -- when you want to invoke a Rack= server programmatically, instead of 
Rack::Handler.default.run(app, opt=
ions)

...the correct behavior is to use

Rack:=
:Server.start(options)
...r= ight?
------=_Part_1699_20685114.1295469219528--