From mboxrd@z Thu Jan 1 00:00:00 1970 Delivered-To: chneukirchen@gmail.com Received: by 10.49.85.105 with SMTP id g9csp41042qez; Wed, 9 Jan 2013 18:21:54 -0800 (PST) Return-Path: Received-SPF: pass (google.com: domain of rack-devel+bncBD75LW742ECRBQGLXCDQKGQEHY7BRFA@googlegroups.com designates 10.50.33.171 as permitted sender) client-ip=10.50.33.171 Authentication-Results: mr.google.com; spf=pass (google.com: domain of rack-devel+bncBD75LW742ECRBQGLXCDQKGQEHY7BRFA@googlegroups.com designates 10.50.33.171 as permitted sender) smtp.mail=rack-devel+bncBD75LW742ECRBQGLXCDQKGQEHY7BRFA@googlegroups.com; dkim=pass header.i=@googlegroups.com Received: from mr.google.com ([10.50.33.171]) by 10.50.33.171 with SMTP id s11mr5662083igi.13.1357784513904 (num_hops = 1); Wed, 09 Jan 2013 18:21:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=x-received:x-beenthere:x-received:x-received:received-spf :x-received:from:message-id:mime-version:subject:date:references:to :in-reply-to:x-mailer:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-google-group-id:list-post:list-help:list-archive:sender :list-subscribe:list-unsubscribe:content-type; bh=VLWYX47TAyrk1e/NkGZGhfQXKjIDSVT2lCn35boXNMc=; b=ulpQ9eRtS806S+8bIWXGtdNzl4SAb2imutbs9oRyGSmGvpf57QuoegV/7NhIgslBT8 stghKFRH7R6+4SCNDYvFs6DjoGTBixbeKkx4UCpotalVmhUAiEa2+vGeXITxUbJ9ycvh exEs7ZXxSUIAflPzR3+Q0l8trAAJADgYl4siKWsBdrT6Q1yHIMS8fVG4s4/DieU4y39Z ab6VLxiw4pFgETly3CMb6UJhjJ2LEc72HQceXkvZ2ROAxDyZ63VUzwK/Yw+CV2tEm7/4 U5H9HQNaOMDbRS4u/h1WFJGnSX86V4YGu2Q9it2Krgmprr+LYh+yZmF4UaDiDgXiMeaK uXXg== X-Received: by 10.50.33.171 with SMTP id s11mr1537039igi.13.1357784513630; Wed, 09 Jan 2013 18:21:53 -0800 (PST) X-BeenThere: rack-devel@googlegroups.com Received: by 10.50.153.194 with SMTP id vi2ls2049465igb.22.gmail; Wed, 09 Jan 2013 18:21:52 -0800 (PST) X-Received: by 10.66.84.98 with SMTP id x2mr9160255pay.10.1357784512775; Wed, 09 Jan 2013 18:21:52 -0800 (PST) X-Received: by 10.66.84.98 with SMTP id x2mr9160254pay.10.1357784512763; Wed, 09 Jan 2013 18:21:52 -0800 (PST) Received: from mail-pb0-f47.google.com (mail-pb0-f47.google.com [209.85.160.47]) by gmr-mx.google.com with ESMTPS id bv9si86779pab.1.2013.01.09.18.21.52 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 09 Jan 2013 18:21:52 -0800 (PST) Received-SPF: pass (google.com: domain of jftucker@gmail.com designates 209.85.160.47 as permitted sender) client-ip=209.85.160.47; Received: by mail-pb0-f47.google.com with SMTP id un1so30077pbc.34 for ; Wed, 09 Jan 2013 18:21:52 -0800 (PST) X-Received: by 10.68.232.169 with SMTP id tp9mr214965836pbc.1.1357784512683; Wed, 09 Jan 2013 18:21:52 -0800 (PST) Received: from [10.0.1.36] (c-67-180-21-214.hsd1.ca.comcast.net. [67.180.21.214]) by mx.google.com with ESMTPS id f5sm262157pav.22.2013.01.09.18.21.50 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 09 Jan 2013 18:21:51 -0800 (PST) From: James Tucker Message-Id: Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Subject: Re: SSE stops working after updating rack version to 1.4.3 Date: Wed, 9 Jan 2013 18:21:49 -0800 References: <3dda6773-08f6-4c8c-9415-0eaffa938969@googlegroups.com> To: rack-devel@googlegroups.com In-Reply-To: <3dda6773-08f6-4c8c-9415-0eaffa938969@googlegroups.com> X-Mailer: Apple Mail (2.1499) 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.160.47 as permitted sender) smtp.mail=jftucker@gmail.com; dkim=pass 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: 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="Apple-Mail=_F0CDBB63-985F-4010-BCE5-BE5DF2BF3861" --Apple-Mail=_F0CDBB63-985F-4010-BCE5-BE5DF2BF3861 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii https://github.com/sinatra/sinatra/issues/606 https://github.com/sinatra/sinatra/pull/603 On Jan 9, 2013, at 6:22 AM, Ivan Aleksandrovich = wrote: > Hi there. I want to notice that after updating rack version from 1.4.1 = to 1.4.3 the simple implementation of SSE stoped working for me(see = application example in the attachment). > Gem list when that example works: >=20 > bundler (1.2.2) > daemons (1.1.8) > eventmachine (0.12.10) > haml (3.1.7) > rack (1.4.1) > rack-protection (1.2.0) > rake (10.0.2) > rubygems-bundler (1.1.0) > rvm (1.11.3.5) > sinatra (1.3.3) > thin (1.5.0) > tilt (1.3.3) >=20 > Gem list when that example doesn't work: > bundler (1.2.2) > daemons (1.1.8) > eventmachine (0.12.10) > haml (3.1.7) > rack (1.4.3) > rack-protection (1.2.0) > rake (10.0.2) > rubygems-bundler (1.1.0) > rvm (1.11.3.5) > sinatra (1.3.3) > thin (1.5.0) > tilt (1.3.3) >=20 > My environment: > - Ruby version is ruby 1.9.3p327 (2012-11-10 revision 37606) = [x86_64-linux] > - Ubuntu 12.04 (precise) 64-bit, Linux 3.2.0-35-generic, GNOME 3.4.2 > - Firefox 18.0 > What do I mean by SSE doesn't work? - It tries to reconnect = forever(with delay of a few seconds which is default for EventSource = implementation - see = http://www.w3.org/TR/eventsource/#the-eventsource-interface for me info, = reconnection time option). You may see these reconnection retries in = server logs or by opening "Network" tab in firebug --Apple-Mail=_F0CDBB63-985F-4010-BCE5-BE5DF2BF3861 Content-Transfer-Encoding: 7bit Content-Type: text/html; charset=us-ascii https://github.com/sinatra/sinatra/issues/606


On Jan 9, 2013, at 6:22 AM, Ivan Aleksandrovich <intale.a@gmail.com> wrote:

Hi there. I want to notice that after updating rack version from 1.4.1 to 1.4.3 the simple implementation of SSE stoped working for me(see application example in the attachment).
Gem list when that example works:

bundler (1.2.2)
daemons (1.1.8)
eventmachine (0.12.10)
haml (3.1.7)
rack (1.4.1)
rack-protection (1.2.0)
rake (10.0.2)
rubygems-bundler (1.1.0)
rvm (1.11.3.5)
sinatra (1.3.3)
thin (1.5.0)
tilt (1.3.3)

Gem list when that example doesn't work:
bundler (1.2.2)
daemons (1.1.8)
eventmachine (0.12.10)
haml (3.1.7)
rack (1.4.3)
rack-protection (1.2.0)
rake (10.0.2)
rubygems-bundler (1.1.0)
rvm (1.11.3.5)
sinatra (1.3.3)
thin (1.5.0)
tilt (1.3.3)

My environment:
 - Ruby version is ruby 1.9.3p327 (2012-11-10 revision 37606) [x86_64-linux]
 - Ubuntu 12.04 (precise) 64-bit, Linux 3.2.0-35-generic, GNOME 3.4.2
 - Firefox 18.0
What do I mean by SSE doesn't work? - It tries to reconnect forever(with delay of a few seconds which is default for EventSource implementation - see http://www.w3.org/TR/eventsource/#the-eventsource-interface for me info, reconnection time option). You may see these reconnection retries in server logs or by opening "Network" tab in firebug

--Apple-Mail=_F0CDBB63-985F-4010-BCE5-BE5DF2BF3861--