Core LibraryalphaAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

attribute libtmux-cxx latest

kDefaultRetainedReplyBytes

How much of one reply a decoder holds, and how long a single line may grow before the stream is called broken.

Source and package
Qualified name
libtmux::kDefaultRetainedReplyBytes
Namespace
libtmux
Package
libtmux-cxx
Source
include/libtmux/control.hpp
kDefaultRetainedReplyBytes : std::size_t

Description#

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.

Esc

Type to search.

Reference previewOpen reference