rack-devel archive mirror (unofficial) https://groups.google.com/group/rack-devel
 help / color / mirror / Atom feed
From: John Nunemaker <nunemaker@gmail.com>
To: rack-devel@googlegroups.com
Subject: Rack Uses Regex That Occasionally Causes REE to Hang
Date: Tue, 12 Jul 2011 16:28:12 -0700 (PDT)	[thread overview]
Message-ID: <6448086.93.1310513292626.JavaMail.geo-discussion-forums@yqyy3> (raw)

[-- Attachment #1: Type: text/plain, Size: 590 bytes --]

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<https://github.com/rack/rack/blob/1.3.0/lib/rack/backports/uri/common.rb#L61>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.

[-- Attachment #2: Type: text/html, Size: 690 bytes --]

             reply	other threads:[~2011-07-12 23:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-12 23:28 John Nunemaker [this message]
2011-07-13  0:42 ` Rack Uses Regex That Occasionally Causes REE to Hang Chris St. John

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://groups.google.com/group/rack-devel

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6448086.93.1310513292626.JavaMail.geo-discussion-forums@yqyy3 \
    --to=rack-devel@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).