acmesh-official / acmesh-official/acme.sh
Support for HTTP-date in HTTP Retry-After Header (RFC9110)
- 主要言語
- 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