Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 8c8a75b

Browse filesBrowse files
authored
perf: ensure timely flush stream buffers
Resolve OOM problem while handle a large streamed response
1 parent d444f85 commit 8c8a75b
Copy full SHA for 8c8a75b

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎Factory/PsrHttpFactory.php

Copy file name to clipboardExpand all lines: Factory/PsrHttpFactory.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ public function createResponse(Response $symfonyResponse)
142142
$stream->write($buffer);
143143

144144
return '';
145-
});
145+
}, 1);
146146

147147
$symfonyResponse->sendContent();
148148
ob_end_clean();

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.