mcardle 2005/11/04 17:54:17 CET
Modified files:
src/net/sf/j2ep ProxyFilter.java
Log:
* cleanup
Revision Changes Path
1.8 +2 -16 esi_server/src/net/sf/j2ep/ProxyFilter.java
http://jahia.mine.nu:8080/cgi-bin/cvsweb.cgi/esi_server/src/net/sf/j2ep/ProxyFilter.java.diff?r1=1.7&r2=1.8&f=h
Index: ProxyFilter.java
===================================================================
RCS file: /home/cvs/repository/esi_server/src/net/sf/j2ep/ProxyFilter.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- ProxyFilter.java 3 Nov 2005 10:31:51 -0000 1.7
+++ ProxyFilter.java 4 Nov 2005 16:54:17 -0000 1.8
@@ -206,7 +206,7 @@
//TODO: don't really need to init a server Method everytime since
the content might be returned from the cache
//TODO: so need integrate this into ResponseHandlerBase for better
efficiency
HttpMethod newMethod = requestHandler.process(clientHttpRequest,
newUrl); //need to include clientHttpRequest to know it's method TYPE
- newMethod.setFollowRedirects(false); //TODO:
Que???????????????????????????????????
+ newMethod.setFollowRedirects(false); //TODO: check this
/*
* Why does method.validate() return true when the method has been
@@ -256,7 +256,7 @@
if (GeneralSettings.getInstance().isActivateInvalidationServer()) {
- // Create a server object that has a limit of 10 concurrent
+ // Create a server object that has a limit of 5 concurrent
// connections
org.jahia.esi.invalidation.Server s = new
org.jahia.esi.invalidation.Server(5);
@@ -273,20 +273,6 @@
else
System.out.println("The ESI SOAP InvalidationServer Server was
not started according to config settings.");
-
- /* //Start ESI invalidation server
- invalidationServer = new XmlServer( );
- try {
-
invalidationServer.startServer(GeneralSettings.getInstance().getInvalidationPort());
- System.out.println("The ESI SOAP InvalidationServer Server
ready and waiting...");
- } catch (IOException ex) {
- System.out.println("Error: The ESI SOAP InvalidationServer
Server could not be started : "+ex);
- }
- }
- else
- System.out.println("The ESI SOAP InvalidationServer Server was
not started according to config settings.");
- */
-
}
/**