git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1156392 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Timothy A. Bish 2011-08-10 22:32:22 +00:00
parent caca105072
commit a05c249800
1 changed files with 3 additions and 2 deletions

View File

@ -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