Page MenuHomePhabricator

Add a read buffer size to PhutilChannel
ClosedPublic

Authored by epriestley on Dec 16 2013, 6:51 PM.
Tags
None
Referenced Files
F15395955: D7774.id17581.diff
Sun, Mar 16, 10:56 AM
F15394715: D7774.id.diff
Sun, Mar 16, 12:23 AM
F15391207: D7774.diff
Sat, Mar 15, 8:44 AM
F15390253: D7774.diff
Sat, Mar 15, 6:04 AM
Unknown Object (File)
Feb 26 2025, 1:31 PM
Unknown Object (File)
Feb 24 2025, 11:20 AM
Unknown Object (File)
Feb 10 2025, 5:59 AM
Unknown Object (File)
Feb 9 2025, 10:51 AM
Subscribers

Details

Summary

Ref T4241. See D7772. Just like ExecFuture, allow the internal channel buffer to be limited in size so when we're plugging a fast pipe into a slow pipe we don't end up with all of the data in memory (subject to actually using these features).

Test Plan

Added unit tests.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped