From 545a33aac755ede43e2509d0492851765d3fd832 Mon Sep 17 00:00:00 2001 From: gennyble Date: Wed, 2 Apr 2025 06:31:08 -0500 Subject: add smalldog docs --- README.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'README.md') 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 -- cgit 1.4.1-3-g733a5