about summary refs log tree commit diff
path: root/README.md
diff options
context:
space:
mode:
authorgennyble <gen@nyble.dev>2025-04-02 06:31:08 -0500
committergennyble <gen@nyble.dev>2025-04-02 06:31:08 -0500
commit545a33aac755ede43e2509d0492851765d3fd832 (patch)
treed8e2005b4850c103494e3e3d0663513eb62b7759 /README.md
parent0ca531df2b166359dfc864e1366e167144f86b6f (diff)
downloadcorgi-545a33aac755ede43e2509d0492851765d3fd832.tar.gz
corgi-545a33aac755ede43e2509d0492851765d3fd832.zip
add smalldog docs
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