Actually send the error code specified...
This commit is contained in:
1 parent
aa7c16f67d
commit
fbec97f356
1 file changed
+1
-1
+1
-1
@@ -86,7 +86,7 @@ public abstract class GuacamoleHTTPTunnelServlet extends HttpServlet {
|
|||||||
|
|
||||||
// If response not committed, send error code
|
// If response not committed, send error code
|
||||||
if (!response.isCommitted())
|
if (!response.isCommitted())
|
||||||
response.sendError(HttpServletResponse.SC_INTERNAL_SERVER_ERROR);
|
response.sendError(code);
|
||||||
|
|
||||||
}
|
}
|
||||||
catch (IOException ioe) {
|
catch (IOException ioe) {
|
||||||
|
|||||||
Reference in new issue
Block a user