Page MenuHomePhabricator

Don't call flush() when emitting responses
ClosedPublic

Authored by epriestley on Mar 21 2015, 7:30 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Apr 17, 2:38 PM
Unknown Object (File)
Thu, Apr 11, 10:03 AM
Unknown Object (File)
Tue, Apr 2, 3:15 AM
Unknown Object (File)
Mon, Mar 25, 7:32 AM
Unknown Object (File)
Sat, Mar 23, 3:36 PM
Unknown Object (File)
Mar 16 2024, 6:23 AM
Unknown Object (File)
Mar 16 2024, 4:23 AM
Unknown Object (File)
Feb 29 2024, 10:37 PM
Tokens
"Love" token, awarded by jlarouche."Like" token, awarded by FvD."Like" token, awarded by rbalik.

Details

Summary

Fixes T7620. I don't fully understand exactly what's going on here, but we don't actually need to call flush().

Test Plan
  • Put timing code around the echo.
  • Made a fake page that emitted a lot of data.
  • Saw the echo block proportionate to data size under curl --limit-rate ....
  • See T7620.
  • Downloaded a large file, got a reasonable progress bar and no obvious memory use issues.

Diff Detail

Repository
rP Phabricator
Branch
sslflush
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 4941
Build 4959: [Placeholder Plan] Wait for 30 Seconds

Event Timeline

epriestley retitled this revision from to Don't call flush() when emitting responses.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.
btrahan edited edge metadata.
This revision is now accepted and ready to land.Mar 23 2015, 3:50 PM
This revision was automatically updated to reflect the committed changes.