Fixes #213 - iOS 6 caching bug.

This commit is contained in:
Michael Jumper
2012-11-10 23:16:39 -08:00
parent fa5c060fad
commit d5f5e66514

View File

@@ -159,6 +159,9 @@ public abstract class GuacamoleHTTPTunnelServlet extends HttpServlet {
logger.info("Connection from {} succeeded.", request.getRemoteAddr());
try {
// Ensure buggy browsers do not cache response
response.setHeader("Cache-Control", "no-cache");
// Send UUID to client
response.getWriter().print(tunnel.getUUID().toString());
}