mirror of
				https://github.com/gyurix1968/guacamole-client.git
				synced 2025-10-30 16:43:22 +00:00 
			
		
		
		
	Improved handling of no tunnel.
This commit is contained in:
		| @@ -148,14 +148,7 @@ public abstract class GuacamoleHTTPTunnelServlet extends HttpServlet { | ||||
|                 // Failed to connect | ||||
|                 else { | ||||
|                     logger.info("Connection from {} failed.", request.getRemoteAddr()); | ||||
|  | ||||
|                     try { | ||||
|                         // Send error to client | ||||
|                         response.sendError(HttpServletResponse.SC_NOT_FOUND); | ||||
|                     } | ||||
|                     catch (IOException e) { | ||||
|                         throw new GuacamoleServerException(e); | ||||
|                     } | ||||
|                     throw new GuacamoleResourceNotFoundException("No tunnel created."); | ||||
|                 } | ||||
|  | ||||
|             } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user