[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: |
Tuukka Hastrup |
Subject: |
[Gzz-commits] storm/org/nongnu/storm/util HTTPProxy.java |
Date: |
Fri, 25 Apr 2003 10:02:43 -0400 |
CVSROOT: /cvsroot/storm
Module name: storm
Changes by: Tuukka Hastrup <address@hidden> 03/04/25 10:02:43
Modified files:
org/nongnu/storm/util: HTTPProxy.java
Log message:
use HTTPProxy.dbg in StormConnection
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/storm/storm/org/nongnu/storm/util/HTTPProxy.java.diff?tr1=1.9&tr2=1.10&r1=text&r2=text
Patches:
Index: storm/org/nongnu/storm/util/HTTPProxy.java
diff -u storm/org/nongnu/storm/util/HTTPProxy.java:1.9
storm/org/nongnu/storm/util/HTTPProxy.java:1.10
--- storm/org/nongnu/storm/util/HTTPProxy.java:1.9 Fri Apr 25 09:31:07 2003
+++ storm/org/nongnu/storm/util/HTTPProxy.java Fri Apr 25 10:02:43 2003
@@ -35,7 +35,8 @@
import java.net.*;
import java.util.Iterator;
-/** An HTTP server serving blocks from a Storm pool.
+/** An HTTP server serving blocks from a Storm pool. When started from command
+ * line, it servers the directory given as first argument.
*/
public class HTTPProxy implements Runnable {
public static boolean dbg = false;
@@ -111,7 +112,7 @@
BlockId id = new BlockId(uri);
Block block = pool.get(id);
- if(dbg) p("<"+port+"> Serve: "+id);
+ if(HTTPProxy.dbg) p("<"+port+"> Serve: "+id);
HTTPResponse resp = resf.makeResponse(200, "Ok");
resp.setField("Content-Type", id.getContentType());
if(!rewrite || !id.getContentType().equals("text/html")) {
- [Gzz-commits] storm/org/nongnu/storm/util HTTPProxy.java, Benja Fallenstein, 2003/04/23
- [Gzz-commits] storm/org/nongnu/storm/util HTTPProxy.java, Tuukka Hastrup, 2003/04/24
- [Gzz-commits] storm/org/nongnu/storm/util HTTPProxy.java, Tuukka Hastrup, 2003/04/24
- [Gzz-commits] storm/org/nongnu/storm/util HTTPProxy.java, Tuukka Hastrup, 2003/04/25
- [Gzz-commits] storm/org/nongnu/storm/util HTTPProxy.java, Tuukka Hastrup, 2003/04/25
- [Gzz-commits] storm/org/nongnu/storm/util HTTPProxy.java, Tuukka Hastrup, 2003/04/25
- [Gzz-commits] storm/org/nongnu/storm/util HTTPProxy.java, Tuukka Hastrup, 2003/04/25
- [Gzz-commits] storm/org/nongnu/storm/util HTTPProxy.java,
Tuukka Hastrup <=
- [Gzz-commits] storm/org/nongnu/storm/util HTTPProxy.java, Tuukka Hastrup, 2003/04/26