Decrease connection timeout on USPS shipping drivers. Fixes bug #11374
This commit is contained in:
parent
5a346afd9e
commit
bfa862b80d
3 changed files with 3 additions and 0 deletions
|
|
@ -4,6 +4,7 @@
|
|||
- fixed #11371: Spaces in the names of custom profile fields
|
||||
- fixed #11372: All Search Forms should use GET
|
||||
- fixed #11373: Problem creating FilePump bundles
|
||||
- fixed #11374: USPS shipping drivers take 3 minutes to timeout
|
||||
|
||||
7.8.10
|
||||
- fixed #11332: Pagination in webgui.org forum urls
|
||||
|
|
|
|||
|
|
@ -396,6 +396,7 @@ sub _doXmlRequest {
|
|||
my $userAgent = LWP::UserAgent->new;
|
||||
$userAgent->env_proxy;
|
||||
$userAgent->agent('WebGUI');
|
||||
$userAgent->timeout('45');
|
||||
my $url = 'http://production.shippingapis.com/ShippingAPI.dll?API=RateV3&XML=';
|
||||
$url .= $xml;
|
||||
my $request = HTTP::Request->new(GET => $url);
|
||||
|
|
|
|||
|
|
@ -352,6 +352,7 @@ sub _doXmlRequest {
|
|||
my $userAgent = LWP::UserAgent->new;
|
||||
$userAgent->env_proxy;
|
||||
$userAgent->agent('WebGUI');
|
||||
$userAgent->timeout('45');
|
||||
my $url = 'http://production.shippingapis.com/ShippingAPI.dll?API=IntlRate&XML=';
|
||||
$url .= $xml;
|
||||
my $request = HTTP::Request->new(GET => $url);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue