about summary refs log tree commit diff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md15
1 files changed, 14 insertions, 1 deletions
diff --git a/README.md b/README.md
index c312ee6..635e574 100644
--- a/README.md
+++ b/README.md
@@ -44,4 +44,17 @@ They will be uppercased and hyphens replaced with underscores.
 Any environmental variable may be overridden if it is set in the
 configuration file, except the `CONTENT_LENGTH` envar.
 
-[rfc]: https://datatracker.ietf.org/doc/html/rfc3875
\ No newline at end of file
+[rfc]: https://datatracker.ietf.org/doc/html/rfc3875
+
+corgi has a cgi module system as an alternate for spawning a new process
+on every request. it creates a new thread, loads a dynamic library into
+it, and executes functions from that library. since it's a function,
+corgi doesn't need to send all the data on standard input but can instead
+pass a cleaner, more structured struct with the headers and body still
+separate from one another.
+
+the module system is designed to, hopefully, allow more efficient cgi
+scripts than the conventional approach while still having the same
+flexibility. it has not yet been benchmarked.
+
+see [smalldog](smalldog/README.md) for more details on how it works.
\ No newline at end of file