mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2024-12-14 10:13:05 +02:00
b5690e21a4
TlsClient introduced a non-blocking read which is required to read protocol messages that are linefeed-terminated rather than a known size. However, in many cases the expected number of bytes is known in advance so in that case it is more efficient to have tlsClientRead() block until all the bytes are read. Add block parameter to all read functions and use it when a blocking read is required. For most read functions this is a noop, i.e. if the read function never blocks then it can ignore the parameter. In passing, set the log level of storageNew*() functions to debug to expose more high-level I/O operations.
7 lines
86 B
Plaintext
7 lines
86 B
Plaintext
.vagrant
|
|
nytprof*
|
|
scratch*
|
|
coverage*
|
|
ubuntu-bionic-18.04-cloudimg-console.log
|
|
profile
|