"session_write_close() doesn't work with Symfony's built-in server

28 days ago"
     

I have two similar issues about Symfony/Php sessions and the lock which happens when a session is already opened in a controller which takes long time to process. It's related to the session_write_close() Php function.


Here is a minimalistic example of a controller which takes long time to process:


// TestController.php
namespace AppBundleController;
use SensioBundleFrameworkExtraBundleConfigurationRoute;  use SymfonyBundleFrameworkBundleControllerController;  use SymfonyComponentHttpFoundationRequest;  use SymfonyComponentHttpFoundationResponse;
class TestController extends Controller  {   /**   * @Route("/test