Skip to content

Commit 8eef8ec

Browse files
Merge branch '5.4' into 6.2
* 5.4: [Serializer] Handle datetime deserialization in U format [HttpFoundation] Fix file streaming after connection aborted Fix param type annotation [HttpClient] Fix setting duplicate-name headers when redirecting with AmpHttpClient
2 parents e8a0efb + c437f39 commit 8eef8ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

BinaryFileResponse.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ public function sendContent(): static
319319
while ('' !== $data) {
320320
$read = fwrite($out, $data);
321321
if (false === $read || connection_aborted()) {
322-
break;
322+
break 2;
323323
}
324324
if (0 < $length) {
325325
$length -= $read;

0 commit comments

Comments
 (0)