You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Observed behavior: The server waits for about 5 seconds, then spits out 5 lines of hello world.
Expected behavior: The server streams one line of hello world every second.
On Rails 5.0.7.2, the behavior of this controller is as expected -- streams a line every second.
Detailed Gemfile.lock contents for clean Rails app that exhibits this issue:
Steps to reproduce
In a clean Rails app (generated with
rails new
), with Rails 5.2.4.1 or Rails 5.4.2.2, add the following controller:Routes:
Run the server locally, then go to http://localhost:3000/streaming
Observed behavior: The server waits for about 5 seconds, then spits out 5 lines of
hello world
.Expected behavior: The server streams one line of
hello world
every second.On Rails 5.0.7.2, the behavior of this controller is as expected -- streams a line every second.
Detailed
Gemfile.lock
contents for clean Rails app that exhibits this issue:The text was updated successfully, but these errors were encountered: