v2.26: Non-blocking TLS

Bug Fixes:

* Remove empty subexpression from manifest regular expression. MacOS was not happy about this though other platforms seemed to work fine. (Fixed by David Raftis.)

Improvements:

* Non-blocking TLS implementation. (Reviewed by Slava Moudry, Cynthia Shang, Stephen Frost.)
* Only limit backup copy size for WAL-logged files. The prior behavior could possibly lead to postgresql.conf or postgresql.auto.conf being truncated in the backup. (Reviewed by Cynthia Shang.)
* TCP keep-alive options are configurable. (Suggested by Marc Cousin.)
* Add io-timeout option.
This commit is contained in:
David Steele
2020-04-20 15:44:31 -04:00
parent 93e4fe0199
commit 2352ecf7c0
10 changed files with 1165 additions and 709 deletions
+48 -12
View File
@@ -811,6 +811,30 @@ src/common/io/read.intern.h:
class: core
type: c/h
src/common/io/socket/client.c:
class: core
type: c
src/common/io/socket/client.h:
class: core
type: c/h
src/common/io/socket/common.c:
class: core
type: c
src/common/io/socket/common.h:
class: core
type: c/h
src/common/io/socket/session.c:
class: core
type: c
src/common/io/socket/session.h:
class: core
type: c/h
src/common/io/tls/client.c:
class: core
type: c
@@ -819,6 +843,18 @@ src/common/io/tls/client.h:
class: core
type: c/h
src/common/io/tls/session.c:
class: core
type: c
src/common/io/tls/session.h:
class: core
type: c/h
src/common/io/tls/session.intern.h:
class: core
type: c/h
src/common/io/write.c:
class: core
type: c
@@ -863,10 +899,6 @@ src/common/memContext.h:
class: core
type: c/h
src/common/type/object.h:
class: core
type: c/h
src/common/regExp.c:
class: core
type: c
@@ -939,6 +971,10 @@ src/common/type/mcv.h:
class: core
type: c/h
src/common/type/object.h:
class: core
type: c/h
src/common/type/param.h:
class: core
type: c/h
@@ -1599,10 +1635,6 @@ test/lib/pgBackRestTest/Env/Manifest.pm:
class: test/harness
type: perl
test/lib/pgBackRestTest/LibCAuto.pm:
class: test/harness/auto
type: perl
test/lib/pgBackRestTest/Module/Mock/MockAllTest.pm:
class: test/module
type: perl
@@ -1835,10 +1867,6 @@ test/src/module/common/memContextTest.c:
class: test/module
type: c
test/src/module/common/objectTest.c:
class: test/module
type: c
test/src/module/common/regExpTest.c:
class: test/module
type: c
@@ -1875,6 +1903,10 @@ test/src/module/common/typeMcvTest.c:
class: test/module
type: c
test/src/module/common/typeObjectTest.c:
class: test/module
type: c
test/src/module/common/typeStringTest.c:
class: test/module
type: c
@@ -1947,6 +1979,10 @@ test/src/module/info/manifestTest.c:
class: test/module
type: c
test/src/module/performance/storageTest.c:
class: test/module
type: c
test/src/module/performance/typeTest.c:
class: test/module
type: c