acmesh-official / acmesh-official/acme.sh

Support for HTTP-date in HTTP Retry-After Header (RFC9110)

クローズ 初心者向け
#7,201 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Shell
スター
47.6k
フォーク
5.7k
平均マージ
6日 5時間
マージ済み PR(30日)
15

説明

According to RFC9110 (https://httpwg.org/specs/rfc9110.html#field.retry-after) the Retry-After Header supports two types of value: HTTP-date and delay-seconds.
When the field contains a http-date, the check crashes and falls back to the default of 2 seconds sleep:

`.acme.sh/acme.sh: line 5875: [: Thu,20Aug202609: integer expression expected`

I'd be happy to provide a pull request if you'd like.

Thanks!

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

The issue points to line 5875 in acme.sh where the Retry-After header parsing fails for HTTP-date format. Start by examining the script around that line to see how the header value is currently processed. Compare with RFC9110 to understand the two formats (HTTP-date and delay-seconds). Write a fix that handles both formats correctly, then test with a server that returns an HTTP-date Retry-After header.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
shell
領域
cli
issue の種類
バグ
難易度
2/5
見積もり時間
1〜3時間
活発さ
活発
明瞭さ
明確に書かれている
初心者へのやさしさ
75/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。