A socket buffer is not the best size to read from a disk.
authorotto <otto@openbsd.org>
Tue, 16 Mar 2021 06:44:14 +0000 (06:44 +0000)
committerotto <otto@openbsd.org>
Tue, 16 Mar 2021 06:44:14 +0000 (06:44 +0000)
commita236030e4d2aaa23cfaa0b501a6c567c31c6ff98
tree6f3fce2089d4ec92a77211f27050a6bf964d31b7
parent8fbfb7aa2db2b7eb8feeefbeac789721b8509593
A socket buffer is not the best size to read from a disk.
Use st_blksize to set high water mark; florian@
usr.sbin/httpd/server_file.c