Skip to content

Commit dbf34d8

Browse files
Merge branch '2.7' into 2.8
* 2.7: [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)" 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
2 parents f60000b + ca05858 commit dbf34d8

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
@@ -150,14 +150,6 @@ public function terminate(Request $request, Response $response)
150150
}
151151

152152
if ($this->getHttpKernel() instanceof TerminableInterface) {
153-
if (!$this->debug) {
154-
if (function_exists('fastcgi_finish_request')) {
155-
fastcgi_finish_request();
156-
} elseif ('cli' !== PHP_SAPI) {
157-
Response::closeOutputBuffers(0, true);
158-
}
159-
}
160-
161153
$this->getHttpKernel()->terminate($request, $response);
162154
}
163155
}

0 commit comments

Comments
 (0)