I have a very strange problem with a kind of proxy running under perl 5.8 and IIS (perlis).
in my perlscript I use the following sequence:
if ($mode eq "proxy"){
$self->log(3, "Putting GET body file : ",$self->{body_file});
my $hea=$self->header_string();
my $bod = $self->_put_body2();
binmode STDOUT; print $hea.$bod;
# syswrite STDOUT,$hea.$bod; #second try
$self->log(3, "returned header : \n", $self->header_string());
$self->log(3, "End put answer");
}normaly everything works fine. The body is always a pdf- file and the header are the required header informations containing also the header tag content-length.
In a special environment (the pdf file comes from a ixos-archive) the print command or the alternative syswrite crashes, and the dllhost process from the perlis goes to 100 % until IIS is restarted. If I change the print or syswrite command to a siple
write $hea.$bod;
the script crashes no more BUT then I do not get anything out when there is not a pdf file as body ('Script produce no output') but a normal html sequence in the body.
Any idea ? Thanks Matthias
_______________________________________________ ActivePerl mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
