symfony/symfony — Issue #3177: [2.1] Transport agnostic HTTP streaming
Author: igorw
Created: 2012-01-24 09:50:10+00:00
State: open

About a month ago streaming responses (#2935) landed in master. My concern with the current implementation is that it has no transport abstraction. It will always assume a CGI-like environment where echo delivers to the client.

The most important feature of Symfony2 is the HTTP abstraction it provides. Ideally we would have streaming supported in this abstraction as well. This would allow using Symfony2 with other web servers, such as [AiP](https://github.com/indeyets/appserver-in-php) or [mongrel2](http://mongrel2.org/).

I have started some work on this in my [output-stream](https://github.com/igorw/symfony/compare/output-stream) branch. @fabpot if you like this approach it would be great if you could complete it.