1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-12 10:04:14 +02:00
pgbackrest/test
David Steele 71fb28bf3f Always throw error when OpenSSL returns SSL_ERROR_SYSCALL.
Previously an error was only thrown when errno was set but in practice this is usually not the case. This may have something to do with getting errno late but attempts to get it earlier have not been successful. It appears that errno usually gets cleared and spot research seems to indicate that other users have similar issues.

An error at this point indicates unexpected EOF so it seems better to just throw an error all the time and be consistent.

To test this properly our test server needs to call SSL_shutdown() except when the client expects this error.
2020-04-14 15:20:50 -04:00
..
certificate New test containers with static test certificates. 2018-11-21 18:13:37 -05:00
code-count Move common/object.h to common/type/object.h. 2020-03-30 20:52:57 -04:00
data Automate generation of WAL and pg_control test files. 2017-11-18 20:02:54 -05:00
expect Add SocketClient object. 2020-03-31 12:43:29 -04:00
lib/pgBackRestTest Add UNCONSTIFY() macro. 2020-04-02 16:58:38 -04:00
src Always throw error when OpenSSL returns SSL_ERROR_SYSCALL. 2020-04-14 15:20:50 -04:00
.gitignore Move coverage results to test/result. 2020-03-14 15:29:42 -04:00
container.yaml Add lz4 compression support. 2020-03-10 14:45:27 -04:00
define.yaml Split session functionality of TlsClient out into TlsSession. 2020-04-14 15:02:18 -04:00
test.pl Correct option name in test.pl help. 2020-04-13 14:51:04 -04:00
travis.pl Update packages required for each CI job. 2020-03-26 22:20:09 -04:00
Vagrantfile Build contributing documentation on Travis CI. 2020-03-21 18:45:58 -04:00