1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-14 10:13:05 +02:00
pgbackrest/lib/pgBackRest/Common
Marc Cousin cb3b4fa24b Enable socket keep-alive on older Perl versions.
The prior method depended on IO:Socket:SSL to push the keep-alive options down to the socket but it only worked for recent versions of the module.

Instead, create the socket directly using IO::Socket::IP if available or IO:Socket:INET as a fallback.  The keep-alive option is set directly on the socket before it is passed to IO:Socket:SSL.

Contributed by Marc Cousin.
2019-02-28 14:33:29 +02:00
..
Http Enable socket keep-alive on older Perl versions. 2019-02-28 14:33:29 +02:00
Io Fix possible truncated WAL segments when an error occurs mid-write. 2019-02-15 11:52:39 +02:00
Cipher.pm Merge crypto/random module into crypto/crypto. 2018-11-06 20:04:16 -05:00
Exception.pm Fix issue where errors raised in C were not logged when called from Perl. 2018-07-20 08:11:34 -04:00
ExceptionAuto.pm Add Exec object. 2019-01-18 11:45:40 +02:00
Ini.pm Rename PGBACKREST/BACKREST constants to PROJECT. 2018-11-24 19:05:03 -05:00
Lock.pm Improved lock implementation written in C. 2018-04-11 09:36:12 -04:00
Log.pm Improve logging. 2018-03-12 11:03:38 -04:00
String.pm Improve performance of list requests on S3. 2017-10-20 14:10:16 -04:00
Wait.pm Removed extraneous use lib directives from Perl modules. 2016-11-04 13:56:26 +02:00
Xml.pm Improve support for special characters in filenames. 2018-09-10 10:54:34 -04:00