guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: HTTP server invalid date header


From: Ludovic Courtès
Subject: Re: HTTP server invalid date header
Date: Sun, 01 May 2016 15:07:49 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Ricardo Wurmus <address@hidden> skribis:

> Ludovic Courtès <address@hidden> writes:
>
>> Ricardo Wurmus <address@hidden> skribis:
>>
>>> I tested JUnit previously with the log4j-api package, but I cannot
>>> submit this right now due to a bug(?) in Guile’s HTTP client, which
>>> makes it impossible for me to download the sources of its dependencies,
>>> such as this one:
>>>
>>>     
>>> http://central.maven.org/maven2/org/osgi/org.osgi.core/6.0.0/org.osgi.core-6.0.0-sources.jar
>>>     ERROR: Bad Date header: Wed, 30 Jul 2014  3:47:42 GMT
>>
>> ISTR you were working on a workaround for this issue.  What’s the
>> status?
>
> I got it fixed (after wasting a lot of time wondering why it would not
> work as I had patched the wrong file), but the fix isn’t really pretty.

[...]

> From c98ca436bafe8077edaf3125b529ea32fbd48611 Mon Sep 17 00:00:00 2001
> From: Ricardo Wurmus <address@hidden>
> Date: Fri, 29 Apr 2016 22:12:24 +0200
> Subject: [PATCH] build: Accept dates with space-padded hour field.
>
> * guix/build/download.scm: Replace "parse-rfc-822-date" from the (web
>   http) module.

I don’t think it’s worse than the original.  ;-)

To help maintenance, could you make sure there’s a Guile bug number for
this one?  And then you can submit this change to Guile itself, and
after that backport it to Guix (with a reference to the Guile bug and
commit.)

Would that work for you?

Sorry for the extra burden!

Thanks,
Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]