Dispatcher does not leverage ServiceStrategy abort method
---------------------------------------------------------
Key: GEOS-4169
URL: http://jira.codehaus.org/browse/GEOS-4169
Project: GeoServer
Issue Type: Bug
Affects Versions: 2.1-beta1, 2.0.2, 1.7.7
Reporter: Andrea Aime
Assignee: Justin Deoliveira
Fix For: 2.1-beta2
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
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
Spend less time writing and rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel