acmesh-official / acmesh-official/acme.sh

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

Ouverte
#7,201 2 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Shell
Étoiles
47.6k
Forks
5.7k
Merge moyen
7 j 1 h
PR mergées (30 j)
16

Description

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!

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.