Actions
DevelProblemAndSolution » History » Revision 2
« Previous |
Revision 2/19
(diff)
| Next »
moo, 2007-08-14 04:51
= Developmenet Problem And Solution =
This page is meant to list Problem And Solutions implementing lighttpd. Any feature requests should be go to [/trac/newticket ticket system].
= Redundant FastCGI/SCGI etc =
ProblemIn lighttpd 1.4, most of the source code of mod_cgi, mod_scgi and mod_proxy were cut'n'pasted from mod_fastcgi.
Why: Redundant code make it hard to maintain.
Solutioncombine them into mod_proxy_core and add protocols around it * the core provides * config handling * connect/retry on failure * fork/restart worker child on dead. (easier to improve native win32 support) * balancing * x-sendfile * the protocol backends take care of * preparing the environment (most cgi env code can be shared) * encode/decode data * handle io
Why: scgi/fastcgi/ejb/http or whatever, are just protocols that we can use to send requests to and get response from backend.
StatusImplemented in 1.5.0
Updated by moo over 17 years ago · 19 revisions