1 diff -crB CGI-SpeedyCGI-2.22-unpatched//Makefile.PL CGI-SpeedyCGI-2.22-patched//Makefile.PL
2 *** CGI-SpeedyCGI-2.22-unpatched//Makefile.PL 2011-03-09 18:28:18.665423958 +0200
3 --- CGI-SpeedyCGI-2.22/Makefile.PL 2011-03-09 18:30:25.644020175 +0200
6 import SpeedyMake qw(%write_makefile_common);
11 - Optional mod_speedycgi support.
13 - Mod_speedycgi increases performance under Apache by avoiding the fork/exec
14 - overhead associated with each request under normal SpeedyCGI. However, it
15 - requires a working copy of "apxs" in your path, Apache with mod_so
16 - support, and additional Apache configuration.
19 - print "Compile mod_speedycgi (default no)? ";
21 my @dirs = qw(src speedy_backend speedy);
22 my $macro = $write_makefile_common{macro};
23 my $apache_module = 0;
24 - if (<STDIN> =~ /y/i) {
25 - die "ERROR: Command 'apxs -q CC' failed.\n"
26 - unless $macro->{APACHE_APXS_WORKS};
27 - print "Compiling for Apache version $macro->{APACHE_VERSION}\n";
28 - push(@dirs, $macro->{MOD_SPEEDYCGI_DIR});
33 NAME => 'CGI::SpeedyCGI',
35 diff -crB CGI-SpeedyCGI-2.22-unpatched//src/speedy_backend_main.h CGI-SpeedyCGI-2.22-patched//src/speedy_backend_main.h
36 *** CGI-SpeedyCGI-2.22-unpatched//src/speedy_backend_main.h 2011-03-09 18:28:18.722089998 +0200
37 --- CGI-SpeedyCGI-2.22/src/speedy_backend_main.h 2011-03-09 18:28:43.578481719 +0200
43 ! #define speedy_new(s,n,t) New(123,s,n,t)
44 #define speedy_renew Renew
45 #define speedy_free Safefree
51 ! #define speedy_new(s,n,t) Newx(s,n,t)
52 #define speedy_renew Renew
53 #define speedy_free Safefree