diff options
author | Jesse Luehrs <doy@tozt.net> | 2019-10-09 13:56:10 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2019-10-09 14:13:19 -0400 |
commit | 0897f33b963903f9b56b4488d45e6828f5b871cf (patch) | |
tree | e010298c8aae656ece4681470f91e8dba6498afe /Cargo.toml | |
parent | 8cb7994cf826a839ba4e59b8c5331f7c34b5619b (diff) | |
download | teleterm-0897f33b963903f9b56b4488d45e6828f5b871cf.tar.gz teleterm-0897f33b963903f9b56b4488d45e6828f5b871cf.zip |
ensure that the length delimited codec expects the right packet size
this was causing errors because we were buffering up to 10MB of terminal
data, but by default, the length delimited codec throws an error if it
sees a packet of over 8MB. this drops the default buffer size to 4MB,
and also ensures that if the buffer size changes that we update the
codec max packet size to match (with some extra to handle overhead and
other packet types).
Diffstat (limited to 'Cargo.toml')
0 files changed, 0 insertions, 0 deletions