
* Take the post-download routerInfo size check back out of ReseedHandler, since it wasn't helpful, and a lower limit caused false warnings. * Give EepGet ability to enforce a min/max HTTP response size. * Enforce a maximum response size of 8 MB when ReseedHandler downloads into a ByteArrayOutputStream. * Refactor ReseedHandler/ReseedRunner from static to ordinary classes, change invocation from RouterConsoleRunner accordingly. * Add an EepGet status listener to ReseedHandler to log causes of reseed failure, provide status reports to indicate the progress of reseeding. * Enable icon for default eepsite, and the index page of the router console (more later).
35 lines
1.2 KiB
Plaintext
35 lines
1.2 KiB
Plaintext
<%@page contentType="text/html"%>
|
|
<%@page pageEncoding="UTF-8"%>
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
|
|
<html><head>
|
|
<title>I2P Router Console - home</title>
|
|
<link rel="stylesheet" href="default.css" type="text/css" />
|
|
<link rel="shortcut icon" href="favicon.ico" />
|
|
</head><body>
|
|
<%
|
|
if (System.getProperty("router.consoleNonce") == null) {
|
|
System.setProperty("router.consoleNonce", new java.util.Random().nextLong() + "");
|
|
}
|
|
%>
|
|
|
|
<%@include file="nav.jsp" %>
|
|
<%@include file="summary.jsp" %>
|
|
|
|
<div class="news" id="news">
|
|
<jsp:useBean class="net.i2p.router.web.ContentHelper" id="newshelper" scope="request" />
|
|
<jsp:setProperty name="newshelper" property="page" value="docs/news.xml" />
|
|
<jsp:setProperty name="newshelper" property="maxLines" value="300" />
|
|
<jsp:getProperty name="newshelper" property="content" />
|
|
</div>
|
|
|
|
<div class="main" id="main">
|
|
<jsp:useBean class="net.i2p.router.web.ContentHelper" id="contenthelper" scope="request" />
|
|
<jsp:setProperty name="contenthelper" property="page" value="docs/readme.html" />
|
|
<jsp:setProperty name="contenthelper" property="maxLines" value="300" />
|
|
<jsp:getProperty name="contenthelper" property="content" />
|
|
</div>
|
|
|
|
</body>
|
|
</html>
|