Page MenuHomePhabricator

Add a read buffer size to PhutilChannel
ClosedPublic

Authored by epriestley on Dec 16 2013, 6:51 PM.
Tags
None
Referenced Files
F13177368: D7774.diff
Wed, May 8, 7:39 PM
Unknown Object (File)
Sun, May 5, 10:07 AM
Unknown Object (File)
Thu, May 2, 4:30 PM
Unknown Object (File)
Wed, May 1, 6:45 PM
Unknown Object (File)
Mon, Apr 29, 2:46 PM
Unknown Object (File)
Fri, Apr 26, 5:46 PM
Unknown Object (File)
Wed, Apr 24, 10:14 PM
Unknown Object (File)
Apr 8 2024, 3:54 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