mirror of https://git.code.sf.net/p/isync/isync
Browse Source
so far we shifted down the buffered data only when we ran out of space. however, that may cause chopping up the actual socket read, which is a bad trade-off with avoiding a moderate-sized memmove. so try to keep enough space for the anticipated read size. note that this ignores the zlib path, as that always does full-size socket reads into z_buf, and saving inflate() calls seems pointless.wip/maildir-path-under-inbox
Oswald Buddenhagen
3 years ago
2 changed files with 17 additions and 4 deletions
Loading…
Reference in new issue