increase resend-buffer size

This commit is contained in:
Daniella / Tove 2022-08-21 22:21:32 +02:00
parent 7c5f42916a
commit ba9003a88c

View file

@ -158,7 +158,7 @@ impl SafeReadWrite {
}
let mut buf = [0, 0, 0];
let mut wait = idn == 0xffff || flush;
if self.last_transmitted.len() < 100 {
if self.last_transmitted.len() < 256 {
self.socket
.set_read_timeout(Some(Duration::from_millis(1)))
.unwrap();