From: Zdenek Dohnal Date: Thu, 5 Mar 2026 07:30:29 +0000 (+0100) Subject: tls-openssl.c: Add comments X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc7e16a7bd2fcd73db6a0fe6ca8fbdc8b1fc0241;p=thirdparty%2Fcups.git tls-openssl.c: Add comments --- diff --git a/cups/tls-openssl.c b/cups/tls-openssl.c index 28907c9a58..250a46f690 100644 --- a/cups/tls-openssl.c +++ b/cups/tls-openssl.c @@ -1723,6 +1723,7 @@ _httpTLSRead(http_t *http, // I - Connection to server if (bytes > 0) return (bytes); + // For now, make difference only for error after which we can retry, EPIPE otherwise... if (SSL_get_error(http->tls, bytes) == SSL_ERROR_WANT_READ) errno = EAGAIN; else @@ -2068,6 +2069,7 @@ _httpTLSWrite(http_t *http, // I - Connection to server if (bytes > 0) return (bytes); + // For now, make difference only for error after which we can retry, EPIPE otherwise... if (SSL_get_error(http->tls, bytes) == SSL_ERROR_WANT_WRITE) errno = EAGAIN; else