On this page
libtmux::kDefaultRetainedReplyBytes
- Module
- libtmux
- Package
- libtmux-cxx
- Source
- include/libtmux/control.hpp
-
How much of one reply a decoder holds, and how long a single line may grow before the stream is called broken.
A subprocess ends and gives its memory back; a connection does not, so the bound has to be in the decoder rather than in whatever reads it afterwards. The reply bound is the subprocess transport's capture limit, so the same call costs the same memory over either transport. The line bound has no subprocess equivalent: it is the point past which an unterminated line is evidence of a broken stream rather than a large answer.
0 declared, 0 inherited