Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-39132

Unsatisfiable partial-content requests not handled correctly

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 2.9.x
    • Fix Version/s: None
    • Component/s: Kernel
    • Labels:
    • Previous Issue Keys:
      KNL-1087

      Description

      From code review, it appears that when the access servlet (/access/content/) gets an invalid partial content request that return a 416 http response code (range not satisfiable), an error response is sent but the code continues to send the whole file anyway.

      Relevant code which needs review is in kernel-impl/src/main/java/org/sakaiproject/content/impl/BaseContentService.java specifically parseRange() which sets an error response code and returns null, but the calling code may still continue to send the request body of the full file.

      More testing and analysis required.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                k1team KERNEL TEAM (Inactive)
                Reporter:
                smarquard Stephen Marquard
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code