Ver código fonte

Rename new option

bel 8 anos atrás
pai
commit
2a7aa7f655
2 arquivos alterados com 2 adições e 2 exclusões
  1. 1 1
      docs/UserManual.md
  2. 1 1
      src/civetweb.c

+ 1 - 1
docs/UserManual.md

@@ -482,7 +482,7 @@ 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.
 
-### case\_sensitive\_files `no`
+### case\_sensitive `no`
 This option can be uset to enable case URLs for Windows servers. It is only available for Windows systems. Windows file systems are not case sensitive, but they still store the file name including case. If this option is set to `yes`, the comparison for URIs and Windows file names will be case sensitive.
 
 

+ 1 - 1
src/civetweb.c

@@ -1445,7 +1445,7 @@ static struct mg_option config_options[] = {
     {"allow_sendfile_call", CONFIG_TYPE_BOOLEAN, "yes"},
 #endif
 #if defined(_WIN32)
-    {"case_sensitive_files", CONFIG_TYPE_BOOLEAN, "no"},
+    {"case_sensitive", CONFIG_TYPE_BOOLEAN, "no"},
 #endif
 
     {NULL, CONFIG_TYPE_UNKNOWN, NULL}};