From mboxrd@z Thu Jan 1 00:00:00 1970 Delivered-To: chneukirchen@gmail.com Received: by 10.49.85.105 with SMTP id g9csp14770qez; Wed, 9 Jan 2013 07:43:23 -0800 (PST) Return-Path: Received-SPF: pass (google.com: domain of rack-devel+bncBCAKFDN66QKRBGNAW2DQKGQEQFIYCZY@googlegroups.com designates 10.49.96.196 as permitted sender) client-ip=10.49.96.196 Authentication-Results: mr.google.com; spf=pass (google.com: domain of rack-devel+bncBCAKFDN66QKRBGNAW2DQKGQEQFIYCZY@googlegroups.com designates 10.49.96.196 as permitted sender) smtp.mail=rack-devel+bncBCAKFDN66QKRBGNAW2DQKGQEQFIYCZY@googlegroups.com; dkim=pass header.i=@googlegroups.com Received: from mr.google.com ([10.49.96.196]) by 10.49.96.196 with SMTP id du4mr45707608qeb.37.1357746203043 (num_hops = 1); Wed, 09 Jan 2013 07:43:23 -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:date:from:to :message-id:subject:mime-version:x-original-sender: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=U4fNN78FOOHwGnoRTQHB4+0m/qd3xvD1z1WqFrRXAkk=; b=odMqEIknIN19n0JHOVb6YCwWIttG0XTzB1XMVT3oVx1PoWxJXF2TrfVrivajMs8joF SEYW62R+y1HRhaWWiipeXfzPxkyuJeC6xd3ZJ9iT7758yQJzfcfuNbD7QAZawjr1njN3 ElRo4hcwhQhFehsjep2/8cq7AZ5vXaiEE/4Za+3/r8Uw2zDhQAD0Y6PWNkgiEHLAEryG 1qm0xAun91mL0E6v1Jr/mwBauPoSWU/8zA5PbNcRZcMDqENP897Wc3i12nrusEhlR064 5E4/i0n5Gy7/lZMHHAEeO2ySvR2Ua2321ed9FVgt7zTGERkhgy8XKR/CwjKq+ssaMZoh 9IUQ== X-Received: by 10.49.96.196 with SMTP id du4mr12371229qeb.37.1357746202904; Wed, 09 Jan 2013 07:43:22 -0800 (PST) X-BeenThere: rack-devel@googlegroups.com Received: by 10.49.120.136 with SMTP id lc8ls914635qeb.30.gmail; Wed, 09 Jan 2013 07:43:21 -0800 (PST) X-Received: by 10.224.189.78 with SMTP id dd14mr6896161qab.0.1357746201327; Wed, 09 Jan 2013 07:43:21 -0800 (PST) Received: by 10.224.0.141 with SMTP id 13msqab; Wed, 9 Jan 2013 06:22:56 -0800 (PST) X-Received: by 10.49.72.169 with SMTP id e9mr12249781qev.3.1357741375853; Wed, 09 Jan 2013 06:22:55 -0800 (PST) Date: Wed, 9 Jan 2013 06:22:55 -0800 (PST) From: Ivan Aleksandrovich To: rack-devel@googlegroups.com Message-Id: <3dda6773-08f6-4c8c-9415-0eaffa938969@googlegroups.com> Subject: SSE stops working after updating rack version to 1.4.3 MIME-Version: 1.0 X-Original-Sender: intale.a@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="----=_Part_249_11165698.1357741375106" ------=_Part_249_11165698.1357741375106 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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 ------=_Part_249_11165698.1357741375106 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit 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
------=_Part_249_11165698.1357741375106--