1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

don't restart sockfilt after only 5 seconds of inactivity

This commit is contained in:
Daniel Stenberg 2005-05-24 21:09:49 +00:00
parent bac63914db
commit 3aced17c75

View File

@ -722,7 +722,7 @@ while(1) {
my $input;
eval {
local $SIG{ALRM} = sub { die "alarm\n" };
alarm 5; # just in case things go bad
alarm 360; # just in case things go REALLY bad
$input = <STDIN>;
alarm 0;
};