LWP::UserAgent->request() only works once (HTTPS)

Posted by bowlesp on 2013-03-01 12:03

I'm using ActivePerl 5.14.2 (x86) on Windows Server 2008 R2 (x64), IIS 7.5 (perlis.dll).

For some reason the first time I try an https $ua->request() it succeeds, and then every subsequent attempt fails. From the command line it works just fine. Through IIS I can only make it work reliably if I set my worker process to recycle after every single request.