aboutsummaryrefslogtreecommitdiff
path: root/devdoc
diff options
context:
space:
mode:
authorRodrigo Arias Mallo <rodarima@gmail.com>2024-02-17 13:00:52 +0100
committerRodrigo Arias Mallo <rodarima@gmail.com>2024-02-18 10:17:45 +0100
commit400de0e64746cc4da4bdd76f4896dd630eff1486 (patch)
tree9c7f770cfa48c0f8128a0fe96e799547d96df120 /devdoc
parentbe1563b474d26241d2a14b27404312eacbeeeb9b (diff)
Handle errors in SSL_read() and SSL_write()
We cannot rely on the return value and the errno, the function SSL_get_error() must be used to determine what happen and if we need to retry again. A wrapper function translates the SSL error into a proper errno value. In the case a premature EOF is sent by the server, the error queue is emptied before the error is returned. Fixes: https://github.com/dillo-browser/dillo/issues/79
Diffstat (limited to 'devdoc')
0 files changed, 0 insertions, 0 deletions