Skip to content

Commit ee8b99f

Browse files
Merge branch '3.1'
* 3.1: [VarDumper] Fix dumping jsons casted as arrays PassConfig::getMergePass is not an array Revert "bug #19114 [HttpKernel] Dont close the reponse stream in debug (nicolas-grekas)" [Serializer] Include the format in the cache key Fix the retrieval of the last username when using forwarding [Yaml] Fix PHPDoc of the Yaml class [HttpFoundation] Add OPTIONS and TRACE to the list of safe methods Update getAbsoluteUri() for query string uris Conflicts: src/Symfony/Component/DependencyInjection/Compiler/PassConfig.php src/Symfony/Component/HttpFoundation/Tests/RequestTest.php
2 parents 8e277a5 + 98543de commit ee8b99f

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

Kernel.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -134,14 +134,6 @@ public function terminate(Request $request, Response $response)
134134
}
135135

136136
if ($this->getHttpKernel() instanceof TerminableInterface) {
137-
if (!$this->debug) {
138-
if (function_exists('fastcgi_finish_request')) {
139-
fastcgi_finish_request();
140-
} elseif ('cli' !== PHP_SAPI) {
141-
Response::closeOutputBuffers(0, true);
142-
}
143-
}
144-
145137
$this->getHttpKernel()->terminate($request, $response);
146138
}
147139
}

0 commit comments

Comments
 (0)