-Fix problem where SIGPIPE wasn't exiting, fixes ghost plugin instances on client connection loss
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1123 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
6a6be9a70b
commit
ebf6b955be
@ -693,7 +693,10 @@ sub dispatch_callback {
|
||||
print $dispatch_parentfd freeze($rsp);
|
||||
print $dispatch_parentfd "\nENDOFFREEZE6sK6xa\n";
|
||||
yield; #This has to happen before next line could possibly work anyway
|
||||
<$dispatch_parentfd>; #Block until parent acks data
|
||||
my $parselect = new IO::Select;
|
||||
$parselect->add($dispatch_parentfd);
|
||||
$parselect->can_read(10); #block for up to 10 seconds before continuing
|
||||
#<$dispatch_parentfd>; #Block until parent acks data
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user