[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-block] [PATCH v7 for-2.12 24/25] block/curl: Implement bdrv_re
From: |
Alberto Garcia |
Subject: |
Re: [Qemu-block] [PATCH v7 for-2.12 24/25] block/curl: Implement bdrv_refresh_filename() |
Date: |
Mon, 04 Dec 2017 17:51:45 +0100 |
User-agent: |
Notmuch/0.18.2 (http://notmuchmail.org) Emacs/24.4.1 (i586-pc-linux-gnu) |
On Mon 20 Nov 2017 09:10:03 PM CET, Max Reitz wrote:
> Signed-off-by: Max Reitz <address@hidden>
> ---
> block/curl.c | 18 ++++++++++++++++++
> 1 file changed, 18 insertions(+)
>
> diff --git a/block/curl.c b/block/curl.c
> index 11318a9a29..fe57223fda 100644
> --- a/block/curl.c
> +++ b/block/curl.c
> @@ -957,6 +957,20 @@ static int64_t curl_getlength(BlockDriverState *bs)
> return s->len;
> }
>
> +static void curl_refresh_filename(BlockDriverState *bs)
> +{
> + BDRVCURLState *s = bs->opaque;
> +
> + if (!s->sslverify || s->cookie ||
> + s->username || s->password || s->proxyusername || s->proxypassword)
> + {
Is !s->sslverify negative because that setting is true by default?
Berto
- Re: [Qemu-block] [PATCH v7 for-2.12 24/25] block/curl: Implement bdrv_refresh_filename(),
Alberto Garcia <=