tgupdate: merge top-bases/t/config/auto-fcgi into t/config/auto-fcgi
[git/gitweb.git] / .topmsg
blob6e01a8e32c3dd30d1f2ab1df3a93a92ebdd70d9a
1 Subject: [PATCH] gitweb: support automatic FCGI detection
3 Add support for a new configuration option '$auto_fcgi' and when true
4 automatically activate FCGI mode when getsockname succeeds on STDIN
5 (and STDIN is on fd 0) and getpeername returns ENOTCONN.
7 Enabling this feature allows the same configuration to be used for
8 both non-FCGI (i.e. regular CGI mode) and FCGI mode operation.
10 This feature is currently opt-in only.  Because although extremely
11 unlikely, it's certainly feasible for gitweb to be executed with STDIN
12 set to a socket in listen mode even though gitweb itself is expected
13 to not actually run in FCGI mode.  And someday pigs might fly.
15 Signed-off-by: Kyle J. McKay <mackyle@gmail.com>