[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gzz-commits] storm/org/nongnu/storm/util HTTPProxy.java
From: |
Benja Fallenstein |
Subject: |
[Gzz-commits] storm/org/nongnu/storm/util HTTPProxy.java |
Date: |
Thu, 22 May 2003 19:11:33 -0400 |
CVSROOT: /cvsroot/storm
Module name: storm
Changes by: Benja Fallenstein <address@hidden> 03/05/22 19:11:33
Modified files:
org/nongnu/storm/util: HTTPProxy.java
Log message:
antont's change
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/storm/storm/org/nongnu/storm/util/HTTPProxy.java.diff?tr1=1.37&tr2=1.38&r1=text&r2=text
Patches:
Index: storm/org/nongnu/storm/util/HTTPProxy.java
diff -u storm/org/nongnu/storm/util/HTTPProxy.java:1.37
storm/org/nongnu/storm/util/HTTPProxy.java:1.38
--- storm/org/nongnu/storm/util/HTTPProxy.java:1.37 Thu May 22 19:07:37 2003
+++ storm/org/nongnu/storm/util/HTTPProxy.java Thu May 22 19:11:33 2003
@@ -202,7 +202,7 @@
w.write("Automatic Proxy Configuration location can be set to ");
w.write("<a href=\""+ROOTURL+URNPAC+"\">"
+ROOTURL+URNPAC+"</a></p>\n");
- }
+ }
protected HTTPResponse serveHomePage(boolean rewrite,
boolean backlinks,
@@ -224,7 +224,7 @@
PointerIndex pIndex =
(PointerIndex)pool.getIndex(PointerIndex.uri);
-
+
SetCollector ids = pool.getIds();
Collector pIds = pIndex.getIds();
@@ -234,12 +234,18 @@
} catch(InterruptedException _) {}
synchronized(pIds) {
- for(Iterator i=pIds.iterator(); i.hasNext();) {
+ for(Iterator i=pIds.iterator(); i.hasNext();) {
PointerId id = (PointerId)i.next();
- String s = id.getURI();
- if(rewrite) s = base + s;
- w.write("<a href=\""+s+"\">"+id+"</a><br>\n");
- }
+ try {
+ PointerBlock pb = pIndex.getPointerBlock(id);
+ String n = pb.getName();
+ String s = id.getURI();
+ if(rewrite)
+ s = base + s;
+ w.write(n+"<a href=\""+s+"\">"+id+"</a><br>\n");
+ }
+ catch(GeneralSecurityException _) { _.printStackTrace();
w.write("<p> error X"); }
+ }
}
w.write("<p>");
@@ -248,7 +254,7 @@
for(Iterator i=ids.iterator(); i.hasNext();) {
BlockId id = (BlockId)i.next();
String s = id.getURI();
- if(rewrite)
+ if(rewrite)
s = base + s;
w.write("<a href=\""+s+"\">"+id+"</a><br>\n");
}
- [Gzz-commits] storm/org/nongnu/storm/util HTTPProxy.java, (continued)
- [Gzz-commits] storm/org/nongnu/storm/util HTTPProxy.java, Tuukka Hastrup, 2003/05/08
- [Gzz-commits] storm/org/nongnu/storm/util HTTPProxy.java, Tuukka Hastrup, 2003/05/08
- [Gzz-commits] storm/org/nongnu/storm/util HTTPProxy.java, Tuukka Hastrup, 2003/05/08
- [Gzz-commits] storm/org/nongnu/storm/util HTTPProxy.java, Tuukka Hastrup, 2003/05/08
- [Gzz-commits] storm/org/nongnu/storm/util HTTPProxy.java, Tuukka Hastrup, 2003/05/08
- [Gzz-commits] storm/org/nongnu/storm/util HTTPProxy.java, Tuukka Hastrup, 2003/05/13
- [Gzz-commits] storm/org/nongnu/storm/util HTTPProxy.java, Benja Fallenstein, 2003/05/21
- [Gzz-commits] storm/org/nongnu/storm/util HTTPProxy.java, Benja Fallenstein, 2003/05/21
- [Gzz-commits] storm/org/nongnu/storm/util HTTPProxy.java, Benja Fallenstein, 2003/05/22
- [Gzz-commits] storm/org/nongnu/storm/util HTTPProxy.java, Benja Fallenstein, 2003/05/22
- [Gzz-commits] storm/org/nongnu/storm/util HTTPProxy.java,
Benja Fallenstein <=
- [Gzz-commits] storm/org/nongnu/storm/util HTTPProxy.java, Benja Fallenstein, 2003/05/24
- [Gzz-commits] storm/org/nongnu/storm/util HTTPProxy.java, Benja Fallenstein, 2003/05/24
- [Gzz-commits] storm/org/nongnu/storm/util HTTPProxy.java, Benja Fallenstein, 2003/05/25
- [Gzz-commits] storm/org/nongnu/storm/util HTTPProxy.java, Tuukka Hastrup, 2003/05/26