[RTEMS Project] #3323: mhttpd's http etag can result in invalid caching in a browser.

RTEMS trac trac at rtems.org
Thu Mar 8 04:11:03 UTC 2018


#3323: mhttpd's http etag can result in invalid caching in a browser.
--------------------------+-------------------------
  Reporter:  Chris Johns  |      Owner:  Chris Johns
      Type:  defect       |     Status:  assigned
  Priority:  normal       |  Milestone:  5.1
 Component:  lib          |    Version:  5
  Severity:  normal       |   Keywords:
Blocked By:               |   Blocking:
--------------------------+-------------------------
 The mhttp's http etag uses the mtime and file length and this can cause
 subtle issues if a target has no RTC or it is incorrect and files are
 being copied without preserving the mtime or changes happen that do not
 change the length.

 The `cp` and `untar` code do not update a file's time.

 Add support for an etag callback so a user can manage the tag, ie MD5 or
 something similar.

--
Ticket URL: <http://devel.rtems.org/ticket/3323>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list