summaryrefslogtreecommitdiff
path: root/libexec/ftpd
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2024-04-28 14:28:03 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2024-04-28 14:28:03 +0000
commit891358d20de03c388fb10d0148c4660261604dda (patch)
tree1ac0768f34c564815c7096278da22fcdbf9372fe /libexec/ftpd
parentc2247d7ef89055fcaa31cc6422dbcfc00fd168f5 (diff)
__sfvwrite: allow writing buffers larger than BUFSIZ or st_blksize.
This can vastly improve write performance. For unbuffered writes, we now write up to INT_MAX instead of BUFSIZE. For buffered writes, write the largest multiple of the buffer size (which may be st_blksize). From Apple via enh at google. OK tb@
Diffstat (limited to 'libexec/ftpd')
0 files changed, 0 insertions, 0 deletions