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 030B249EB8 for ; Mon, 15 Apr 2024 16:28:09 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 683A068CBF2; Mon, 15 Apr 2024 19:28:06 +0300 (EEST) Received: from mail-wr1-f50.google.com (mail-wr1-f50.google.com [209.85.221.50]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 2C46168C72F for ; Mon, 15 Apr 2024 19:27:59 +0300 (EEST) Received: by mail-wr1-f50.google.com with SMTP id ffacd0b85a97d-344047ac7e4so2618505f8f.0 for ; Mon, 15 Apr 2024 09:27:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1713198477; x=1713803277; darn=ffmpeg.org; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=YzcPKNf9gwOzNVGMlb0Z3q9rtZsclj8p6lQ122FL4pg=; b=JXEKHgJkP6PegBw1q6ZouyFStJu7iGZO14o4F7GfTfiVATC6JMKcPXaaroD9iMkcA5 3EHQ5oQHKaIsMw3IIHyvhJXUj2uW7nRB+HslJBBIUtbduY7JRH9pb1x5OloY0Un5hwfd EfQ/+m8wVhQn7lTYgKIXLaJM+3awSSbMvlhx0W8DSeNAtOfE/K54JgNNHicb75psDwZx fkQq6M0A+FFDKS1uaogannSoqnJ6xxZlly38LxPDZyAbOyCZY/h94YgzD3Gl6j0jJFJH lZD7EFt/d6RMWCcu88y7AwoegcLHn/b9DtwwlggM/xId9LuBUp51MFS1aXOFe0x8XxWY +X0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713198477; x=1713803277; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=YzcPKNf9gwOzNVGMlb0Z3q9rtZsclj8p6lQ122FL4pg=; b=QjiVrTxCM0g4YKGPikH/Ynh6MeqVelVw2WhKDcMRuyqxnJt9v5lb9nqtuapSHxpeG0 6PGb4ttFiiSdtiLBuXwWCmtb4QrZX6F3GQ2iLUWLkxovXZ3fGWButOZ1hhoIh51fH++6 Hmokjohtlw196rNa50QHtC4j9ZbF8UBrVD0MYE9oZ3tgm/b51bystZHf1c7KyzCNQht+ 5GAhuVcEL26qWGOMtVncNu1KeBnpgMcgybjOQka9EBeXUS+8DIno3+xq9ifY1kZBXQG7 c+uoTYUMqgXJa/B5m7UNXNwuROSHBF0XtVoiv+C54ovW8N+kH8KZbeRHhyjjlF1w/UaW /V+A== X-Gm-Message-State: AOJu0Yy6xCuqz7N8kmXf07F1adZwgMuKphJPyAebGfBx2sQ/Wq+f44Fg eg08KZzHvdEo/TuAGF6Xgy85soFIeX4tMUAE888L6v+mU5pDJjgYVnHy8g== X-Google-Smtp-Source: AGHT+IH+38DT0N3ZJ6KyPe1c63azXwQmuubufkSOdzphRmmb+M1JBaLgAKEDBJxNDoGofs8Hrh5GDQ== X-Received: by 2002:a05:6000:7:b0:343:39a6:93bc with SMTP id h7-20020a056000000700b0034339a693bcmr162142wrx.11.1713198477386; Mon, 15 Apr 2024 09:27:57 -0700 (PDT) Received: from localhost.localdomain (33bf3d9d.skybroadband.com. [51.191.61.157]) by smtp.gmail.com with ESMTPSA id u8-20020a5d4348000000b00347c187a3a0sm3899969wrr.24.2024.04.15.09.27.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Apr 2024 09:27:56 -0700 (PDT) From: Derek Buitenhuis To: ffmpeg-devel@ffmpeg.org Date: Mon, 15 Apr 2024 17:27:35 +0100 Message-ID: <20240415162741.110374-1-derek.buitenhuis@gmail.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 0/6] HTTP rate limiting and retry improvements 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: This patch set adds support for properly handling HTTP 429 codes, and their rate limiting, which is widely used and is standardized. Derek Buitenhuis (6): avutil/error: Add HTTP 429 Too Many Requests AVERROR code avformat/http: Use AVERROR_HTTP_TOO_MANY_REQUESTS avformat/http: Don't bail on parsing headers on "bad" HTTP codes avformat/http: Add support for Retry-After header avformat/http: Rename attempts to auth_attempts avformat/http: Add options to set the max number of connection retries libavformat/http.c | 69 +++++++++++++++++++++++++++++++++---------- libavformat/version.h | 2 +- libavutil/error.h | 1 + libavutil/version.h | 2 +- 4 files changed, 57 insertions(+), 17 deletions(-) -- 2.43.0 _______________________________________________ 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".