Skip to content
Snippets Groups Projects
Commit 3aced17c authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

don't restart sockfilt after only 5 seconds of inactivity

parent bac63914
No related branches found
No related tags found
No related merge requests found
......@@ -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;
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment