line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Mail::Milter::Authentication::Handler::TestTimeout; |
2
|
5
|
|
|
5
|
|
6614
|
use 5.20.0; |
|
5
|
|
|
|
|
29
|
|
3
|
5
|
|
|
5
|
|
43
|
use strict; |
|
5
|
|
|
|
|
14
|
|
|
5
|
|
|
|
|
123
|
|
4
|
5
|
|
|
5
|
|
29
|
use warnings; |
|
5
|
|
|
|
|
18
|
|
|
5
|
|
|
|
|
135
|
|
5
|
5
|
|
|
5
|
|
26
|
use Mail::Milter::Authentication::Pragmas; |
|
5
|
|
|
|
|
15
|
|
|
5
|
|
|
|
|
60
|
|
6
|
|
|
|
|
|
|
# ABSTRACT: Timeout Tester |
7
|
|
|
|
|
|
|
our $VERSION = '3.20230911'; # VERSION |
8
|
5
|
|
|
5
|
|
1583
|
use base 'Mail::Milter::Authentication::Handler'; |
|
5
|
|
|
|
|
15
|
|
|
5
|
|
|
|
|
2982
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
sub _timeout { |
11
|
24
|
|
|
24
|
|
290
|
alarm ( 1 ); |
12
|
24
|
|
|
|
|
24004710
|
sleep 10; |
13
|
24
|
|
|
|
|
2331
|
return; |
14
|
|
|
|
|
|
|
} |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
|
17
|
1
|
|
|
1
|
0
|
8
|
sub connect_callback { return _timeout(); } |
18
|
1
|
|
|
1
|
0
|
17
|
sub helo_callback { return _timeout(); } |
19
|
1
|
|
|
1
|
0
|
7
|
sub envfrom_callback { return _timeout(); } |
20
|
1
|
|
|
1
|
0
|
5
|
sub envrcpt_callback { return _timeout(); } |
21
|
15
|
|
|
15
|
0
|
90
|
sub header_callback { return _timeout(); } |
22
|
1
|
|
|
1
|
0
|
7
|
sub eoh_callback { return _timeout(); } |
23
|
1
|
|
|
1
|
0
|
5
|
sub body_callback { return _timeout(); } |
24
|
1
|
|
|
1
|
0
|
9
|
sub eom_callback { return _timeout(); } |
25
|
1
|
|
|
1
|
0
|
16
|
sub abort_callback { return _timeout(); } |
26
|
1
|
|
|
1
|
0
|
5
|
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.20230911 |
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 |