Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000106 [Resin] minor always 04-15-05 00:00 05-11-05 00:00
Reporter ferg View Status public  
Assigned To
Priority urgent Resolution fixed  
Status closed   Product Version
Summary 0000106: if-modified-since with IE 6
Description RSN-97
(rep by Anupam Bagchi)

We recently tried to use gzip filter for our product using Resin 3.0.12 and found a problem with IE 6. We have tracked it down to the code and here is the diagnosis.

In Resin 3.0.12, com.caucho.servlets.FileServlet, line 0000257:

    String lastModified = cache.getLastModifiedString();

    if (ifMatch == null) {
      String ifModified = req.getHeader("If-Modified-Since");

      if (ifModified != null && ifModified.equals(lastModified)) {
        if (etag != null)
          res.addHeader("ETag", etag);
        res.sendError(res.SC_NOT_MODIFIED);
        return;
      }
    }

The problem with IE 6 is that is has "; length=xxx" at the end of the ifModified string and Resin needs to strip out this information before comparing it to lastModified.

Will appreciate if you can include this fix in the next Resin release.
Additional Information
Attached Files

- Relationships

- Notes
(0000125)
ferg
04-15-05 00:00

server/1970
 

- Issue History
Date Modified Username Field Change
04-15-05 00:00 ferg New Issue
11-30-05 00:00 administrator Fixed in Version  => 3.0.13


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed.
27 unique queries executed.
Powered by Mantis Bugtracker