padrino/padrino-framework — pull request #1825 by jay2u (2014-11-18 11:23:19+00:00)
Title: Make broken async stream callbacks work again in Padrino

This is a fix for #1704

It patches the issue where streaming connections never get closed after the connection is lost.

The async streaming callback functions that Sinatra sets via the ExtendedRack class in setup_default_middleware method gets overridden by Padrino's middleware builder.