line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Mail::Milter::Authentication::Handler::TestTimeout; |
2
|
5
|
|
|
5
|
|
6158
|
use 5.20.0; |
|
5
|
|
|
|
|
33
|
|
3
|
5
|
|
|
5
|
|
35
|
use strict; |
|
5
|
|
|
|
|
10
|
|
|
5
|
|
|
|
|
108
|
|
4
|
5
|
|
|
5
|
|
57
|
use warnings; |
|
5
|
|
|
|
|
21
|
|
|
5
|
|
|
|
|
138
|
|
5
|
5
|
|
|
5
|
|
30
|
use Mail::Milter::Authentication::Pragmas; |
|
5
|
|
|
|
|
11
|
|
|
5
|
|
|
|
|
115
|
|
6
|
|
|
|
|
|
|
# ABSTRACT: Timeout Tester |
7
|
|
|
|
|
|
|
our $VERSION = '3.20230629'; # VERSION |
8
|
5
|
|
|
5
|
|
1578
|
use base 'Mail::Milter::Authentication::Handler'; |
|
5
|
|
|
|
|
19
|
|
|
5
|
|
|
|
|
2925
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
sub _timeout { |
11
|
24
|
|
|
24
|
|
265
|
alarm ( 1 ); |
12
|
24
|
|
|
|
|
24005129
|
sleep 10; |
13
|
24
|
|
|
|
|
1861
|
return; |
14
|
|
|
|
|
|
|
} |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
|
17
|
1
|
|
|
1
|
0
|
9
|
sub connect_callback { return _timeout(); } |
18
|
1
|
|
|
1
|
0
|
7
|
sub helo_callback { return _timeout(); } |
19
|
1
|
|
|
1
|
0
|
8
|
sub envfrom_callback { return _timeout(); } |
20
|
1
|
|
|
1
|
0
|
10
|
sub envrcpt_callback { return _timeout(); } |
21
|
15
|
|
|
15
|
0
|
99
|
sub header_callback { return _timeout(); } |
22
|
1
|
|
|
1
|
0
|
8
|
sub eoh_callback { return _timeout(); } |
23
|
1
|
|
|
1
|
0
|
4
|
sub body_callback { return _timeout(); } |
24
|
1
|
|
|
1
|
0
|
6
|
sub eom_callback { return _timeout(); } |
25
|
1
|
|
|
1
|
0
|
7
|
sub abort_callback { return _timeout(); } |
26
|
1
|
|
|
1
|
0
|
6
|
sub close_callback { return _timeout(); } |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
1; |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
__END__ |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
=pod |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=encoding UTF-8 |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=head1 NAME |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
Mail::Milter::Authentication::Handler::TestTimeout - Timeout Tester |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=head1 VERSION |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
version 3.20230629 |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=head1 AUTHOR |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
Marc Bradshaw <marc@marcbradshaw.net> |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
This software is copyright (c) 2020 by Marc Bradshaw. |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
53
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
=cut |