mirror of https://github.com/apache/activemq.git
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1156392 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
caca105072
commit
a05c249800
|
@ -179,8 +179,9 @@ public class RestFilter implements Filter {
|
|||
IOHelper.copyInputStream(request.getInputStream(), out);
|
||||
} catch (IOException e) {
|
||||
LOG.warn("Exception occured" , e);
|
||||
out.close();
|
||||
throw e;
|
||||
} finally {
|
||||
out.close();
|
||||
}
|
||||
|
||||
response.setStatus(HttpURLConnection.HTTP_NO_CONTENT); // we return no
|
||||
|
|
Loading…
Reference in New Issue