The intermediate buffer on the write side allows the write to complete asynchronously.
在写入方面的中间缓冲区则可以让写入过程异步完成。
Using the intermediate buffer on the read side allows the kernel buffer to act as a "readahead cache" when the application hasn't asked for as much data as the kernel buffer holds.
在读取方面使用中间内核缓冲区,可以允许内核缓冲区在应用程序不需要内核缓冲区内的全部数据时,充当 “预读高速缓存(readahead cache)” 的角色。
You can run this check along with a check for maximum size (to avoid buffer overload attacks) on the client side, but because anyone can thwart these measures, you also check on the server side.
可以将此检查与客户端的最大大小检查(以防止缓冲区过载攻击)一起运行,但由于有人能够使这些措施失效,因此还要在服务器端进行检查。
应用推荐