mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-12-16 07:20:11 +00:00
Remove trailing whitespace from lines.
This commit is contained in:
@@ -164,7 +164,7 @@ public abstract class GuacamoleHTTPTunnelServlet extends HttpServlet {
|
||||
try {
|
||||
// Ensure buggy browsers do not cache response
|
||||
response.setHeader("Cache-Control", "no-cache");
|
||||
|
||||
|
||||
// Send UUID to client
|
||||
response.getWriter().print(tunnel.getUUID().toString());
|
||||
}
|
||||
@@ -403,12 +403,12 @@ public abstract class GuacamoleHTTPTunnelServlet extends HttpServlet {
|
||||
// Buffer
|
||||
int length;
|
||||
char[] buffer = new char[8192];
|
||||
|
||||
|
||||
// Transfer data using buffer
|
||||
while (tunnel.isOpen() &&
|
||||
(length = input.read(buffer, 0, buffer.length)) != -1)
|
||||
writer.write(buffer, 0, length);
|
||||
|
||||
|
||||
}
|
||||
|
||||
// Close input stream in all cases
|
||||
|
||||
Reference in New Issue
Block a user