Changeset 11448
- Timestamp:
- 05/12/08 17:21:33 (5 years ago)
- Location:
- lang/perl/HTTP-Engine/trunk/lib/HTTP
- Files:
-
- 2 modified
-
Engine.pm (modified) (2 diffs)
-
Engine/Interface/FCGI.pm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lang/perl/HTTP-Engine/trunk/lib/HTTP/Engine.pm
r11444 r11448 2 2 use strict; 3 3 use warnings; 4 BEGIN { eval "package HTTPEx; sub dummy {} 1;" } 4 BEGIN { eval "package HTTPEx; sub dummy {} 1;" } ## no critic 5 5 use base 'HTTPEx'; 6 6 use Class::Component; … … 154 154 =head1 MIDDLEWARES 155 155 156 For all non-core middlewares s(consult #codrepos first), use the HTTPEx::156 For all non-core middlewares (consult #codrepos first), use the HTTPEx:: 157 157 namespace. For example, if you have a plugin module named "HTTPEx::Middleware::Foo", 158 158 you could load it as -
lang/perl/HTTP-Engine/trunk/lib/HTTP/Engine/Interface/FCGI.pm
r11439 r11448 54 54 55 55 if ( $options->{manager} ) { 56 eval "use $options->{manager}; 1" or die $@; 56 eval "use $options->{manager}; 1" or die $@; ## no critic 57 57 58 58 $proc_manager = $options->{manager}->new( … … 115 115 my $self = shift; 116 116 print "FastCGI daemon started (pid $$)\n"; 117 open STDIN, "+</dev/null" or die $!; 118 open STDOUT, ">&STDIN" or die $!; 119 open STDERR, ">&STDIN" or die $!; 117 open STDIN, "+</dev/null" or die $!; ## no critic 118 open STDOUT, ">&STDIN" or die $!; ## no critic 119 open STDERR, ">&STDIN" or die $!; ## no critic 120 120 POSIX::setsid(); 121 121 }
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)