bel2125 3 роки тому
батько
коміт
4d42a5f1c9
2 змінених файлів з 5 додано та 2 видалено
  1. 3 1
      SECURITY.md
  2. 2 1
      docs/Embedding.md

+ 3 - 1
SECURITY.md

@@ -6,6 +6,7 @@ The current "head" version ("master" branch) undergoes some automatic tests, but
 All development branches may be in an intermediate, untested state.
 
 For released versions, additional tests are performed, including manual tests, static source code analysis and fuzz testing.
+Except for features marked as "experimental". Experimental features are deactivated in the default configuration.
 
 Defects will be fixed in the current head version.
 Selected, critical defects are fixed in the latest release as well.
@@ -13,9 +14,10 @@ Selected, critical defects are fixed in the latest release as well.
 Note that different security policies apply to different files/folders in this project:
 - The core components are include/civetweb.h, src/civetweb.c and src/*.inl.  These files are part of every server instance in production. Therefore they have to undergo the most intensive security tests and reviews.
 - The src/main.c file is used by the standalone server. It is used in various tests in combination with the aforementioned core components. Aplications embedding civetweb will not use main.c and, thus, do not suffer from any vulnerabilities therein.
-- The example folders contain different usage examples in different maintanance state. This is explained in detail in the README file there. 
+- The example folders contain different usage examples in different maintenance state. This is explained in detail in the README file there.
 - The content of all test folders (test, unittest, fuzztest) is used to test the server functionality. These tests are not designed with security in mind - on the contrary, some tests contain scripts or settings that even introduce security leaks on purpose. All tests are only meant to be run in a test environment. You should not use the content of any test folder in production. Also certificates in "resources/cert" are only meant to be used in test environments and must never be used in production.
 
+
 ## Reporting a Vulnerability
 
 Please send vulnerability reports by email to bel2125 at gmail com.

+ 2 - 1
docs/Embedding.md

@@ -308,7 +308,8 @@ handler(struct mg_connection *conn, void *ignored)
 }
 ```
 
-A simple callback (old structure supporting HTTP/1.x only):
+A simple callback (deprecated structure supporting HTTP/1.x only):
+(Note: While some older examples use this pattern, it is not recommended to it in new code.)
 ```C
 static int
 handler(struct mg_connection *conn, void *ignored)