ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> activeperl
activeperl
FYI: IIS, Windblows Jehovista SP1 and partial response
by Jenda Krynicky other posts by this author
Aug 29 2009 2:44AM messages near this date
RE: PerlEZ question | ActiveState announces ActivePerl 5.10.1 build 1006
Yesterday I noticed that by webbased Perl scripts stopped working. 
That is the scripts ran OK, but the webserver (IIS7.0 under Windows 
Vista SP1) only sent part of the output. Both IE8 and Google Chrome 
kept on waiting for the rest of the pare until timeout, 
LWP::UserAgent sometimes returned the partial response immediately, 
sometimes waited for a timeout as well.

I tried it with ActivePerl builds 825, 822 and 1006. The behaviour 
did not depend on the perl version.

It looked like something related to caching because the response I 
got was a little less than 64KB and if I added some more HTTP 
headers, the body was shortened by exactly that number of characters. 
I tried to add some whitespace at the end and found out that the next 
pint at which the webserver sends some more data is 320KB. If I added 
enough whitespace it I received the generated HTML plus part of the 
added whitespace.

I tried to close(STDOUT), I tried to print CTRL+Z but neither of 
those fixed the issue. Though the attempt to close(STDOUT) caused LWP 
to wait for a timeout before returning the partial content.


In either case I installed SP2 and it SEEMS to work all right now.

I think it must have been broken by some hotfix or "security" patch 
for Windblows.

Jenda
===== Jenda@[...].cz === http://Jenda.Krynicky.cz =====
When it comes to wine, women and song, wizards are allowed 
to get drunk and croon as much as they like.
	-- Terry Pratchett in Sourcery

_______________________________________________
ActivePerl mailing list
ActivePerl@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved