[jboss-jira] [JBoss JIRA] (WFLY-4709) Invalid Last-Modified header
Kabir Khan (JIRA)
issues at jboss.org
Wed Dec 6 11:20:41 EST 2017
[ https://issues.jboss.org/browse/WFLY-4709?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kabir Khan closed WFLY-4709.
----------------------------
> Invalid Last-Modified header
> ----------------------------
>
> Key: WFLY-4709
> URL: https://issues.jboss.org/browse/WFLY-4709
> Project: WildFly
> Issue Type: Bug
> Components: Web (Undertow)
> Affects Versions: 8.2.0.Final
> Environment: Windows Server 2008
> Reporter: Davy De Durpel
> Assignee: Stuart Douglas
> Fix For: 9.0.0.CR2, 10.0.0.Alpha3
>
>
> After 2 months of use Wildfly suddenly started to send an invalid Last-Modified header. Normally it should be in the format:
> Fri, 10 Oct 2014 19:35:55 GMT
> But sometimes it sends:
> Fri, 10 Oct 2014 21:35:55 CEST
> Or even:
> Fri, 10 Oct 2014 21:35:55 CEST GMT
> The URLConnection.getLastModified() method cannot handle these 2 last formats as it uses an old and deprecated Date.parse(..) method.
> A restart of the service fixes the issue for a few hours after which it reappears but not for all requests. We switched back to JBoss 7.1.1 and the issue disappeared completely so we're pretty sure that it's a bug in WildFly. No updates were done to windows, java and Wildfly that could have triggered the issue. We noticed the issue because we have a java applet running at the customer side. We use URLConnection to download some files based on the last modification date of these files. Browsers don't seem to be affected by the issue.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the jboss-jira
mailing list