Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-1277

Tapestry incorrectly calls PrintWriter.flush(), not close(), when writing JSON objects and arrays as the response

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.2, 5.1
    • Fix Version/s: 5.2.1
    • Component/s: tapestry-core
    • Labels:
      None

      Description

      Apparent flush() does not always do the right thing (i.e., actually flush data) and when combined with GZip this could explain problems people have seen with corrupted data. We should be able to remove application/json from the list of uncompressable content types.

        Attachments

          Activity

            People

            • Assignee:
              hlship Howard M. Lewis Ship
              Reporter:
              hlship Howard M. Lewis Ship
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: