From mboxrd@z Thu Jan 1 00:00:00 1970 Delivered-To: chneukirchen@gmail.com Received: by 10.229.87.136 with SMTP id w8cs45393qcl; Thu, 20 Jan 2011 12:35:38 -0800 (PST) Return-Path: Received-SPF: pass (google.com: domain of rack-devel+bncCP_V2_zRBRCWueLpBBoEa_kgvQ@googlegroups.com designates 10.220.180.205 as permitted sender) client-ip=10.220.180.205; Authentication-Results: mr.google.com; spf=pass (google.com: domain of rack-devel+bncCP_V2_zRBRCWueLpBBoEa_kgvQ@googlegroups.com designates 10.220.180.205 as permitted sender) smtp.mail=rack-devel+bncCP_V2_zRBRCWueLpBBoEa_kgvQ@googlegroups.com; dkim=pass header.i=rack-devel+bncCP_V2_zRBRCWueLpBBoEa_kgvQ@googlegroups.com Received: from mr.google.com ([10.220.180.205]) by 10.220.180.205 with SMTP id bv13mr645473vcb.4.1295555737130 (num_hops = 1); Thu, 20 Jan 2011 12:35:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=domainkey-signature:x-beenthere:received-spf:from:mime-version :subject:date:in-reply-to:to:references:message-id:x-mailer :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:list-post:list-help:list-archive :sender:list-subscribe:list-unsubscribe:content-type; bh=j/svsusIQJ8pVaR5xe//kFUAfieSarSMQJKZCDp0gH8=; b=z49p+3OTSUU1KH3/yxZhOAVjTQh6Zf84Kk8BaqXCnvVzMsd1eab6OUpvcBO3TWZfLA MJr1RukAF51qYlKie+i8ghEYT+LreOjaWQOUj8E7qIR6+SgSQgc9TmxIWqMV+0tK5H1V 584JxrvWKvfQK1s0jS6bavktotZyhUQSynQD0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlegroups.com; s=beta; h=x-beenthere:received-spf:from:mime-version:subject:date:in-reply-to :to:references:message-id:x-mailer:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:sender:list-subscribe :list-unsubscribe:content-type; b=It9u640nkBJfQUScbOGSMQiGL9uZ5l0GKmb380/W9okt/94nXUeNNUQeYbW5wD5aAo 8u0pnfY9aHtROjbZn3Jwmo2CB87/0tF1cpq60/jA5Wv0jJPZX1DVhlmRbDTjSXph0XN6 LNcowX6WYlNLCXrK/BBuuOV68O8A7K65eJNBI= Received: by 10.220.180.205 with SMTP id bv13mr151331vcb.4.1295555734601; Thu, 20 Jan 2011 12:35:34 -0800 (PST) X-BeenThere: rack-devel@googlegroups.com Received: by 10.220.67.197 with SMTP id s5ls94179vci.2.p; Thu, 20 Jan 2011 12:35:33 -0800 (PST) Received: by 10.220.194.7 with SMTP id dw7mr1149284vcb.7.1295555733722; Thu, 20 Jan 2011 12:35:33 -0800 (PST) Received: by 10.220.194.7 with SMTP id dw7mr1149283vcb.7.1295555733693; Thu, 20 Jan 2011 12:35:33 -0800 (PST) Received: from mail-qw0-f45.google.com (mail-qw0-f45.google.com [209.85.216.45]) by gmr-mx.google.com with ESMTPS id a11si636558vci.7.2011.01.20.12.35.32 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 20 Jan 2011 12:35:32 -0800 (PST) Received-SPF: pass (google.com: domain of jftucker@gmail.com designates 209.85.216.45 as permitted sender) client-ip=209.85.216.45; Received: by qwk4 with SMTP id 4so1096353qwk.32 for ; Thu, 20 Jan 2011 12:35:32 -0800 (PST) Received: by 10.224.60.197 with SMTP id q5mr2259622qah.86.1295555732360; Thu, 20 Jan 2011 12:35:32 -0800 (PST) Received: from [192.168.4.80] (70-35-55-162.static.wiline.com [70.35.55.162]) by mx.google.com with ESMTPS id w12sm4859844qco.32.2011.01.20.12.35.30 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 20 Jan 2011 12:35:31 -0800 (PST) From: James Tucker Mime-Version: 1.0 (Apple Message framework v1082) Subject: Re: ctrl-c not working in Rack::Handler::WEBrick Date: Thu, 20 Jan 2011 12:35:28 -0800 In-Reply-To: <30804305.1700.1295469219531.JavaMail.geo-discussion-forums@vbxq13> To: rack-devel@googlegroups.com References: <30804305.1700.1295469219531.JavaMail.geo-discussion-forums@vbxq13> Message-Id: <4693FBB8-2F15-424A-805E-72E4775B8994@gmail.com> X-Mailer: Apple Mail (2.1082) X-Original-Sender: jftucker@gmail.com X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of jftucker@gmail.com designates 209.85.216.45 as permitted sender) smtp.mail=jftucker@gmail.com; dkim=pass (test mode) header.i=@gmail.com Reply-To: rack-devel@googlegroups.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=Apple-Mail-2--579051239 --Apple-Mail-2--579051239 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On Jan 19, 2011, at 12:33 PM, Alex Chaffee wrote: > 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=20 > Rack::Handler.default.run(app, options) > ...the correct behavior is to use >=20 > Rack::Server.start(options) > ...right? Yes.= --Apple-Mail-2--579051239 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii
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?
=
Yes.
= --Apple-Mail-2--579051239--