diff options
author | Rodrigo Arias Mallo <rodarima@gmail.com> | 2024-06-01 20:31:39 +0200 |
---|---|---|
committer | Rodrigo Arias Mallo <rodarima@gmail.com> | 2024-06-01 21:12:52 +0200 |
commit | c96cd51fe73fddb4e9188e4f857938d33f386664 (patch) | |
tree | 36378331b5fe2415ef18a363608757883fc47bae /src/cache.c | |
parent | c8080eb22362630b7a735d30da55dd23779cd83c (diff) |
Don't call SSL_get_error() with pending data
When a positive non-zero value is returned from SSL_read or SSL_write,
there is data read or written, so there is no need to check for errors.
Only in the case the return value is 0 or negative.
Diffstat (limited to 'src/cache.c')
0 files changed, 0 insertions, 0 deletions