Uploaded image for project: 'GeoServer'
  1. GEOS-4169

Dispatcher does not leverage ServiceStrategy abort method

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 1.7.7, 2.0.2, 2.1-beta1
    • Fix Version/s: 2.11-RC1
    • Component/s: None
    • Labels:
      None

      Description

      ServiceStrategy.abort() method is there to avoid writing out an incomplete response when a service exception happens.
      Using strategies such as the buffer or the file strategy in case of exception the partial output should never be returned.
      However, that happens only if the dispatcher calls the abort() method in case of exception, which is not happening

      Since the strategy is known only inside the response() method I guess we'd need a try/finally there to do the job

        Attachments

          Activity

            People

            • Assignee:
              aaime Andrea Aime
              Reporter:
              harrison.grundy codehaus (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: