1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-14 10:13:05 +02:00

Increase HTTP timeout for S3.

This commit is contained in:
David Steele 2017-09-01 19:16:57 -04:00
parent 75511d2481
commit 80e5e8db01
2 changed files with 9 additions and 3 deletions

View File

@ -52,6 +52,12 @@
<p>Allow <id>content-length</id> (in addition to chunked encoding) when reading XML data to improve compatibility with third-party S3 gateways.</p>
</release-item>
</release-feature-list>
<release-refactor-list>
<release-item>
<p>Increase HTTP timeout for S3.</p>
</release-item>
</release-refactor-list>
</release-core-list>
<release-doc-list>

View File

@ -29,9 +29,9 @@ use constant HTTP_VERB_POST => 'POST';
use constant HTTP_VERB_PUT => 'PUT';
push @EXPORT, qw(HTTP_VERB_PUT);
use constant HTTP_HEADER_CONTENT_LENGTH => 'content-length';
use constant HTTP_HEADER_CONTENT_LENGTH => 'content-length';
push @EXPORT, qw(HTTP_HEADER_CONTENT_LENGTH);
use constant HTTP_HEADER_TRANSFER_ENCODING => 'transfer-encoding';
use constant HTTP_HEADER_TRANSFER_ENCODING => 'transfer-encoding';
push @EXPORT, qw(HTTP_HEADER_TRANSFER_ENCODING);
####################################################################################################################################
@ -70,7 +70,7 @@ sub new
{name => 'hQuery', optional => true, trace => true},
{name => 'hRequestHeader', optional => true, trace => true},
{name => 'rstrRequestBody', optional => true, trace => true},
{name => 'iProtocolTimeout', optional => true, default => 30, trace => true},
{name => 'iProtocolTimeout', optional => true, default => 90, trace => true},
{name => 'lBufferMax', optional => true, default => 32768, trace => true},
{name => 'bVerifySsl', optional => true, default => true, trace => true},
{name => 'strCaPath', optional => true, trace => true},