Loading lib/vtls/mbedtls.c +2 −1 Original line number Diff line number Diff line Loading @@ -795,7 +795,8 @@ static ssize_t mbed_recv(struct connectdata *conn, int num, if(ret <= 0) { if(ret == MBEDTLS_ERR_SSL_PEER_CLOSE_NOTIFY) return 0; else if(!ret) return 0; *curlcode = (ret == MBEDTLS_ERR_SSL_WANT_READ) ? CURLE_AGAIN : CURLE_RECV_ERROR; return -1; Loading Loading
lib/vtls/mbedtls.c +2 −1 Original line number Diff line number Diff line Loading @@ -795,7 +795,8 @@ static ssize_t mbed_recv(struct connectdata *conn, int num, if(ret <= 0) { if(ret == MBEDTLS_ERR_SSL_PEER_CLOSE_NOTIFY) return 0; else if(!ret) return 0; *curlcode = (ret == MBEDTLS_ERR_SSL_WANT_READ) ? CURLE_AGAIN : CURLE_RECV_ERROR; return -1; Loading