From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id 38D4949F02 for ; Mon, 15 Apr 2024 17:33:38 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 24DF468CD53; Mon, 15 Apr 2024 20:33:36 +0300 (EEST) Received: from mail-ej1-f49.google.com (mail-ej1-f49.google.com [209.85.218.49]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 45D4C68B779 for ; Mon, 15 Apr 2024 20:33:30 +0300 (EEST) Received: by mail-ej1-f49.google.com with SMTP id a640c23a62f3a-a51ddc783e3so427815766b.0 for ; Mon, 15 Apr 2024 10:33:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1713202409; x=1713807209; darn=ffmpeg.org; h=user-agent:in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:to:from:date:from:to:cc:subject :date:message-id:reply-to; bh=9FuticHIePCwJD4aD+/4L9Yr5BTgS+X+bTw85wTS6Gk=; b=kZKh3+PyaxPIkTH09yzB0JwQ4LZ+gThLghNYgXTRQWP8YW8zbWm7EilZJRlghb4MH1 v85G5wRTNdCqgPE1Jg31oDDfNEVjQmMr7AC0UvUEIZpkHjXYx3Od6iaeoQzKxh2roEv2 +Gel8MRdTdgYXzawvNdcRX7vpioM/Q8jDMC1a3DuVrsSYQPWdihdSchCevYc421vFcXe 1rv5hX8fBhh0E+fOVTZVrWBWWZeMV9BcKXPkl0OetUEX27n3aBgWE4uB2WAm/m4aArXo 6mmMaVeL/8rE4xkSZ72hBYmrQtIbttqkW2zeB5K2GSQKvZK8fQWASvU5MX3dJQn0fNLj QSNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713202409; x=1713807209; h=user-agent:in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:to:from:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=9FuticHIePCwJD4aD+/4L9Yr5BTgS+X+bTw85wTS6Gk=; b=J1Lwu+DX/aDqfhYRjsc/I5BSjk7EIGHTL4gtxsT49DoNhGXiScTUeGn24Ch6SryVLe 7GfxSRfAU77ULEhKTl4QFzXs3Ya9wpHG3lVes9pk02lcAp34hq08RzYIt9k0DvYYwC+4 J+nrCi1WVjuLHWDZJ7LzNcNB+U+5KjTrckSi/QHLd/7jvxrWO+OI9K4pRoe+87sunE55 TRCVDSKBPNKncC3ymJgeLHM5cGz2ihlCw4ABV9MtP90G2p9nwQnUGbn1c/sDutuGCwmT hXLh7gPD5JGxbOLg2vYgpXyYbKrJgRBt/9m0MuD8wvjPNC2S6BjayU6DKU+L9zp/V7fH jRMw== X-Gm-Message-State: AOJu0YxsPBwvXVnVVQupE6uTfSBs/9cdMhZc5owsv4yyXdPxsHK+N4fT WtkJPBpvyp1u2qQhP5EpFwAt0TovIQqSxS9X+Bkw2xmAYerHosK05PDetQ== X-Google-Smtp-Source: AGHT+IH6T5LitMH8vrgw4TWyrXg+/jpc5Tjh9yk0AMRiiq+2Pvl46rvxjfGpC4P6sYR34cB8HK0sKg== X-Received: by 2002:a17:906:1395:b0:a51:9911:eba8 with SMTP id f21-20020a170906139500b00a519911eba8mr6915861ejc.4.1713202408665; Mon, 15 Apr 2024 10:33:28 -0700 (PDT) Received: from mariano (host-82-58-28-189.retail.telecomitalia.it. [82.58.28.189]) by smtp.gmail.com with ESMTPSA id z7-20020a1709060ac700b00a521904b548sm5724772ejf.166.2024.04.15.10.33.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Apr 2024 10:33:28 -0700 (PDT) Received: by mariano (Postfix, from userid 1000) id ED454BFCE8; Mon, 15 Apr 2024 19:33:26 +0200 (CEST) Date: Mon, 15 Apr 2024 19:33:26 +0200 From: Stefano Sabatini To: FFmpeg development discussions and patches Message-ID: Mail-Followup-To: FFmpeg development discussions and patches References: <20240415162741.110374-1-derek.buitenhuis@gmail.com> <20240415164933.110933-1-derek.buitenhuis@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20240415164933.110933-1-derek.buitenhuis@gmail.com> User-Agent: Mutt/2.1.4 (2021-12-11) Subject: Re: [FFmpeg-devel] [PATCH 4/6 v2] avformat/http: Add support for Retry-After header X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: On date Monday 2024-04-15 17:49:33 +0100, Derek Buitenhuis wrote: > 429 and 503 codes can, and often do (e.g. all Google Cloud > Storage URLs can), return a Retry-After header with the error, > indicating how long to wait, in seconds, before retrying again. > If it is not respected by, for example, using our default backoff > stratetgy instead, chances of success are very unlikely. > > This adds an AVOption to respect that header. > > Signed-off-by: Derek Buitenhuis > --- > libavformat/http.c | 12 ++++++++++++ > libavformat/version.h | 2 +- > 2 files changed, 13 insertions(+), 1 deletion(-) missing doc/protocols.texi update _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".