Actually send the error code specified...

This commit is contained in:
Michael Jumper
2012-03-24 22:45:47 -07:00
parent aa7c16f67d
commit fbec97f356

View File

@@ -86,7 +86,7 @@ public abstract class GuacamoleHTTPTunnelServlet extends HttpServlet {
// If response not committed, send error code
if (!response.isCommitted())
response.sendError(HttpServletResponse.SC_INTERNAL_SERVER_ERROR);
response.sendError(code);
}
catch (IOException ioe) {