LWP::UserAgent::Patch::HTTPSHardTimeout - Add hard timeout to HTTPS requests
version 0.04
use LWP::UserAgent::Patch::HTTPSHardTimeout -timeout => 300;
This module contains a simple workaround for hanging issue with HTTPS requests. It wraps send_request() with an alarm() timeout.
By patching, you do not need to replace all the client code which uses LWP::UserAgent (or WWW::Mechanize, and so on).
http://stackoverflow.com/questions/9400068/make-timeout-work-for-lwpuseragent-https
LWPx::ParanoidAgent
Steven Haryanto <stevenharyanto@gmail.com>
This software is copyright (c) 2012 by Steven Haryanto.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install LWP::UserAgent::Patch::HTTPSHardTimeout, copy and paste the appropriate command in to your terminal.
cpanm
cpanm LWP::UserAgent::Patch::HTTPSHardTimeout
CPAN shell
perl -MCPAN -e shell install LWP::UserAgent::Patch::HTTPSHardTimeout
For more information on module installation, please visit the detailed CPAN module installation guide.