From mboxrd@z Thu Jan 1 00:00:00 1970 Delivered-To: chneukirchen@gmail.com Received: by 10.229.70.138 with SMTP id d10cs6542qcj; Tue, 12 Jul 2011 16:33:40 -0700 (PDT) Return-Path: Received-SPF: pass (google.com: domain of rack-devel+bncCOfg_LTcBBDRs_PwBBoEaUXkJA@googlegroups.com designates 10.236.195.34 as permitted sender) client-ip=10.236.195.34; Authentication-Results: mr.google.com; spf=pass (google.com: domain of rack-devel+bncCOfg_LTcBBDRs_PwBBoEaUXkJA@googlegroups.com designates 10.236.195.34 as permitted sender) smtp.mail=rack-devel+bncCOfg_LTcBBDRs_PwBBoEaUXkJA@googlegroups.com; dkim=pass header.i=rack-devel+bncCOfg_LTcBBDRs_PwBBoEaUXkJA@googlegroups.com Received: from mr.google.com ([10.236.195.34]) by 10.236.195.34 with SMTP id o22mr288721yhn.6.1310513620154 (num_hops = 1); Tue, 12 Jul 2011 16:33:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=x-beenthere:date:from:reply-to:to:message-id:subject:mime-version :x-original-sender:precedence:mailing-list:list-id:x-google-group-id :list-post:list-help:list-archive:sender:list-subscribe :list-unsubscribe:content-type; bh=8j/tdfek8/hP5e+hw7+9PaLUuRTzUYDP6sgDfp8CwZQ=; b=7ARpO6EEqiN5joAEZE6iwK5PNP6adtOjrmAGnrrRNFul8qqheY/D9awOQ59t/vFmE4 sNILbMgOCpK/ijHKGeWNCmtC9j25U0yp4KB4+illbmFcoFpRDXSjbRYkW3l0UBEXUtHJ v1N0HwfNdlOCsOtWFwnMRFJOELyJIyfF6F3/U= Received: by 10.236.195.34 with SMTP id o22mr83113yhn.6.1310513617966; Tue, 12 Jul 2011 16:33:37 -0700 (PDT) X-BeenThere: rack-devel@googlegroups.com Received: by 10.150.19.38 with SMTP id 38ls854445ybs.6.gmail; Tue, 12 Jul 2011 16:33:36 -0700 (PDT) Received: by 10.236.182.5 with SMTP id n5mr206140yhm.69.1310513506316; Tue, 12 Jul 2011 16:31:46 -0700 (PDT) Received: by 10.151.135.8 with SMTP id m8msybn; Tue, 12 Jul 2011 16:28:13 -0700 (PDT) Received: by 10.91.197.32 with SMTP id z32mr100087agp.29.1310513293100; Tue, 12 Jul 2011 16:28:13 -0700 (PDT) Date: Tue, 12 Jul 2011 16:28:12 -0700 (PDT) From: John Nunemaker Reply-To: rack-devel@googlegroups.com To: rack-devel@googlegroups.com Message-ID: <6448086.93.1310513292626.JavaMail.geo-discussion-forums@yqyy3> Subject: Rack Uses Regex That Occasionally Causes REE to Hang MIME-Version: 1.0 X-Original-Sender: nunemaker@gmail.com Precedence: list Mailing-list: list rack-devel@googlegroups.com; contact rack-devel+owners@googlegroups.com List-ID: X-Google-Group-Id: 486215384060 List-Post: , List-Help: , List-Archive: Sender: rack-devel@googlegroups.com List-Subscribe: , List-Unsubscribe: , Content-Type: multipart/alternative; boundary="----=_Part_92_15500866.1310513292625" ------=_Part_92_15500866.1310513292625 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Posted the REE issue to the REE google group as well: https://groups.google.com/forum/#!topic/emm-ruby/EBkMfFpk40A The regex used on line 61 in rack/backports/uri/common.rbcauses REE to hang for certain strings. I only know because it happened in production over and over the past week and today, with help, I was finally able to track it down. Not sure if this is really an issue with Rack or just with REE, but it will affect anyone using Rack 1.3.0 and REE so I thought I would mention it here as well. ------=_Part_92_15500866.1310513292625 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Posted the REE issue to the REE google group as well:
https://groups.google.com/forum/#!topic/emm-ruby/EBkMfFpk40A

The regex used on line 61 in rack/backports/uri/common.rb causes REE to hang for certain strings. I only know because it happened in production over and over the past week and today, with help, I was finally able to track it down.

Not sure if this is really an issue with Rack or just with REE, but it will affect anyone using Rack 1.3.0 and REE so I thought I would mention it here as well.
------=_Part_92_15500866.1310513292625--