commit 4370558fd27a705a699a9ac2fdd27198df5cb5a0 from: Thomas Adam date: Sun Sep 14 06:50:43 2025 UTC bufio: increase default size The default read size from the buffer as set to 128 is low, which can make reading from a buffer take an unnecessarily long time. Increase this to 4096, imsg is fine with messages of that size, and this should improve things like page load times. Fixes #44 OK @op commit - c5d0edcd32396b2700e5a9cf803434afe59b6ba0 commit + 4370558fd27a705a699a9ac2fdd27198df5cb5a0 blob - c51a1017d3a424e3dc4aecc1184a9d9b4cc9636b blob + b3a9d6fef380267b863d6c910f0fe72cbd29e152 --- bufio.h +++ bufio.h @@ -25,7 +25,7 @@ struct tls; -#define BIO_CHUNK 128 +#define BIO_CHUNK 4096 struct buf { uint8_t *buf; size_t len;