Changeset 735
- Timestamp:
- 04/04/2012 08:29:07 PM (14 months ago)
- Location:
- trunk
- Files:
-
- 2 edited
-
docs/CHANGES.txt (modified) (1 diff)
-
plugins/LW2.pm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/docs/CHANGES.txt
r732 r735 18 18 - Fix vhost not being set properly, thanks to Brian Poole 19 19 - Fix crash on invalid regex chars in robots.txt (dis)allow lines 20 - Default to use Net::SSL instead of Net::SSLeay as a result of too many memory issues in SSLeay 20 21 2011-06-14 21 22 - Fix condition where match_1 or match_1_or are 4xx response code -
trunk/plugins/LW2.pm
r734 r735 78 78 was no other way to quickly change SSL Engine. 79 79 lw_ssl_engine can have these values: 80 auto = autodetection where it uses SSL eayfirst80 auto = autodetection where it uses SSL first 81 81 (this is the default upon loading the module) 82 82 SSL = Net::SSL … … 116 116 } 117 117 else { print "ERROR: $@\n"; exit; } 118 } else { 118 } 119 else { 119 120 # assuming autodetection 120 eval "use Net::SSL eay"; # do we have SSL support?121 eval "use Net::SSL"; 121 122 if ( !$@ ) { 122 $LW_SSL_LIB = 1;123 $_SSL_LIBRARY = 'Net::SSLeay';124 Net::SSLeay::load_error_strings();125 Net::SSLeay::SSLeay_add_ssl_algorithms();126 Net::SSLeay::randomize();127 } else {128 eval "use Net::SSL";129 if ( !$@ ) {130 123 $LW_SSL_LIB = 2; 131 124 $_SSL_LIBRARY = 'Net::SSL'; 132 } 133 } 134 } 125 } 126 else { 127 eval "use Net::SSLeay"; 128 if ( !$@ ) { 129 $LW_SSL_LIB = 1; 130 $_SSL_LIBRARY = 'Net::SSLeay'; 131 Net::SSLeay::load_error_strings(); 132 Net::SSLeay::SSLeay_add_ssl_algorithms(); 133 Net::SSLeay::randomize(); 134 } 135 } 136 } 135 137 136 138 return undef;
Note: See TracChangeset
for help on using the changeset viewer.