… | |
… | |
861 | no warnings; |
861 | no warnings; |
862 | use strict qw(vars subs); |
862 | use strict qw(vars subs); |
863 | |
863 | |
864 | use Carp; |
864 | use Carp; |
865 | |
865 | |
866 | our $VERSION = 4.32; |
866 | our $VERSION = 4.34; |
867 | our $MODEL; |
867 | our $MODEL; |
868 | |
868 | |
869 | our $AUTOLOAD; |
869 | our $AUTOLOAD; |
870 | our @ISA; |
870 | our @ISA; |
871 | |
871 | |
… | |
… | |
1263 | used, and preference will be given to protocols mentioned earlier in the |
1263 | used, and preference will be given to protocols mentioned earlier in the |
1264 | list. |
1264 | list. |
1265 | |
1265 | |
1266 | This variable can effectively be used for denial-of-service attacks |
1266 | This variable can effectively be used for denial-of-service attacks |
1267 | against local programs (e.g. when setuid), although the impact is likely |
1267 | against local programs (e.g. when setuid), although the impact is likely |
1268 | small, as the program has to handle connection errors already- |
1268 | small, as the program has to handle conenction and other failures anyways. |
1269 | |
1269 | |
1270 | Examples: C<PERL_ANYEVENT_PROTOCOLS=ipv4,ipv6> - prefer IPv4 over IPv6, |
1270 | Examples: C<PERL_ANYEVENT_PROTOCOLS=ipv4,ipv6> - prefer IPv4 over IPv6, |
1271 | but support both and try to use both. C<PERL_ANYEVENT_PROTOCOLS=ipv4> |
1271 | but support both and try to use both. C<PERL_ANYEVENT_PROTOCOLS=ipv4> |
1272 | - only support IPv4, never try to resolve or contact IPv6 |
1272 | - only support IPv4, never try to resolve or contact IPv6 |
1273 | addresses. C<PERL_ANYEVENT_PROTOCOLS=ipv6,ipv4> support either IPv4 or |
1273 | addresses. C<PERL_ANYEVENT_PROTOCOLS=ipv6,ipv4> support either IPv4 or |