Sleep 0.35 seconds to avoid DoS attacks from broken robots.
This commit is contained in:
parent
aa0840c047
commit
1a242d0d95
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=13781
1 changed files with 4 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/perl -T
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: www/en/cgi/query-pr.cgi,v 1.27 2001/11/07 16:32:13 sobomax Exp $
|
||||
|
||||
$ENV{'PATH'} = "/bin:/usr/bin:/usr/sbin:/sbin:/usr/local/bin";
|
||||
|
||||
|
@ -179,6 +179,9 @@ print qq`<A HREF="mailto:freebsd-gnats-submit\@FreeBSD.org,${email}?subject=Re:%
|
|||
|
||||
print &html_footer;
|
||||
|
||||
# Sleep 0.35 seconds to avoid DoS attacks from broken robots
|
||||
select undef, undef, undef, 0.35;
|
||||
|
||||
exit 0;
|
||||
|
||||
sub getline
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue