Commit 547e91db authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

Clarence Gardner pointed out the not-taken-care-of return codes from SSL_read

parent 04da96e0
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -347,6 +347,9 @@ int Curl_read(struct connectdata *conn,
      case SSL_ERROR_WANT_WRITE:
        /* if there's data pending, then we re-invoke SSL_read() */
        break;
      default:
        failf(conn->data, "SSL read error: %d", err);
        return CURLE_READ_ERROR;
      }
    } while(loop);
    if(loop && SSL_pending(conn->ssl.handle))