瀏覽代碼

Document `allow_sendfile_call` option

bel 9 年之前
父節點
當前提交
edc3da2178
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      docs/UserManual.md

+ 4 - 0
docs/UserManual.md

@@ -463,6 +463,10 @@ increase performance while swapping the certificate.
 Disk IO performance can be improved when keeping the certificates and keys stored
 Disk IO performance can be improved when keeping the certificates and keys stored
 on a tmpfs (linux) on a system with very high throughput.
 on a tmpfs (linux) on a system with very high throughput.
 
 
+### allow_sendfile_call `yes`
+This option can be used to enable or disable the use of the Linux `sendfile` system call. It is only available for Linux systems and only affecting HTTP (not HTTPS) connections if `throttle` is not enabled. While using the `sendfile` call will lead to a performance boost for HTTP connections, this call may be broken for some file systems and some operating system versions.
+
+
 # Lua Scripts and Lua Server Pages
 # Lua Scripts and Lua Server Pages
 Pre-built Windows and Mac civetweb binaries have built-in Lua scripting
 Pre-built Windows and Mac civetweb binaries have built-in Lua scripting
 support as well as support for Lua Server Pages.
 support as well as support for Lua Server Pages.