Michael Peters wrote:
Tyler Bird wrote:Attached is my script if you want to try it and have apache 1.xrequire in; my $time = 120; for(my $i = 0; $i < $time; $i++) {warn("iteration..." . $i); sleep(1);Here in your interation, try printing out a null byte (or anything really) just to tell the browser that you're still working... print "\0";} in::ct(); print("version 2.x suceeded!!!");Hi,
Well I ran a couple tests. 1.) I sent the content type first then the NULL bytes then the content.results: sent the header but then didnt' sent any content ... ( namedly the suceess string at the end of the file I gave you ). results: on another text there were a bunch of 1 characters in my output. but this was using print("%c", 0);
2.) I send the null bytes first then the content type header This seemed to give me a blank file.Didn't even seem like the content type was send down the stream, maybe a timeout before.
All of that said this appears to work fine on apache 2.x + mod_perl + linux rhel 5.0
Tyler
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.