Page MenuHomePhabricator

Add a read buffer size to PhutilChannel
ClosedPublic

Authored by epriestley on Dec 16 2013, 6:51 PM.
Tags
None
Referenced Files
F18717305: D7774.diff
Sep 29 2025, 1:27 PM
F18630360: D7774.id17590.diff
Sep 16 2025, 11:29 AM
F18607064: D7774.id.diff
Sep 13 2025, 11:11 PM
F18597827: D7774.id17581.diff
Sep 13 2025, 3:47 AM
F18594952: D7774.diff
Sep 12 2025, 7:55 PM
F18594477: D7774.id.diff
Sep 12 2025, 6:20 PM
F18591108: D7774.id17581.diff
Sep 12 2025, 8:15 AM
F18591081: D7774.diff
Sep 12 2025, 8:11 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