diff --git a/apps/routerconsole/jsp/viewstat.jsp b/apps/routerconsole/jsp/viewstat.jsp index af7b2944cd2fcc542b932135928bdf9e5c447352..0a716cb9dbff4deb3a026cbfa094ede8e24e4147 100644 --- a/apps/routerconsole/jsp/viewstat.jsp +++ b/apps/routerconsole/jsp/viewstat.jsp @@ -44,6 +44,10 @@ if ( !rendered && ((rs != null) || fakeBw) ) { response.setContentType("image/png"); // very brief 45 sec expire response.setDateHeader("Expires", net.i2p.I2PAppContext.getGlobalContext().clock().now() + (45*1000)); + // http://jira.codehaus.org/browse/JETTY-1346 + // This doesn't actually appear in the response, but it fixes the problem, + // so Jetty must look for this header and close the connection. + response.setHeader("Connection", "Close"); int width = -1; int height = -1; int periodCount = -1;