Uploaded image for project: 'Shindig'
  1. Shindig
  2. SHINDIG-1667

ConcatProxyServlet sets the HTTP response status after writing the response

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.5.0-beta1
    • 2.5.0-beta1
    • None
    • None

    Description

      After we return from doFetchConcatResources(..) we set the status in doGet. So lets say we return false from doFetchConcatResources and the content written to the response was bigger than the buffer. This means we will flush the buffer and set the status to the OK status then write the rest of the content and set the status to bad request, but it will be to late we already set the status to OK

      Attachments

        1. fix-1667.patch
          4 kB
          Ryan Baxter

        Activity

          People

            Unassigned Unassigned
            rbaxter Ryan Baxter
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 2h
                2h
                Remaining:
                Remaining Estimate - 2h
                2h
                Logged:
                Time Spent - Not Specified
                Not Specified