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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.2, 5.1
    • 5.2.1
    • tapestry-core
    • 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

            hlship Howard Lewis Ship
            hlship Howard Lewis Ship
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: