diff options
author | Rodrigo Arias Mallo <rodarima@gmail.com> | 2024-05-31 22:33:07 +0200 |
---|---|---|
committer | Rodrigo Arias Mallo <rodarima@gmail.com> | 2024-06-01 21:12:51 +0200 |
commit | c8080eb22362630b7a735d30da55dd23779cd83c (patch) | |
tree | 25b13b31775fa38a19e35149d61e233b6110c0c7 /src/image.hh | |
parent | dbe0c669409bb441a8464d0cd8a034c1a266f9e5 (diff) |
Handle SSL_ERROR_ZERO_RETURN in OpenSSL
It may be returned when the server closes the connection, see:
https://www.openssl.org/docs/manmaster/man3/SSL_get_error.html
We simply handle it as if there was no error and return zero bytes read.
Fixes: https://github.com/dillo-browser/dillo/issues/175
Diffstat (limited to 'src/image.hh')
0 files changed, 0 insertions, 0 deletions