cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1151322 - /cxf/trunk/rt/transports/http-jetty/src/main/java/org/apache/cxf/transport/http_jetty/JettyHTTPServerEngine.java
Date Wed, 27 Jul 2011 03:32:06 GMT
Author: dkulp
Date: Wed Jul 27 03:32:05 2011
New Revision: 1151322

URL: http://svn.apache.org/viewvc?rev=1151322&view=rev
Log:
Add ability to control the "DontClose" thing per port

Modified:
    cxf/trunk/rt/transports/http-jetty/src/main/java/org/apache/cxf/transport/http_jetty/JettyHTTPServerEngine.java

Modified: cxf/trunk/rt/transports/http-jetty/src/main/java/org/apache/cxf/transport/http_jetty/JettyHTTPServerEngine.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/transports/http-jetty/src/main/java/org/apache/cxf/transport/http_jetty/JettyHTTPServerEngine.java?rev=1151322&r1=1151321&r2=1151322&view=diff
==============================================================================
--- cxf/trunk/rt/transports/http-jetty/src/main/java/org/apache/cxf/transport/http_jetty/JettyHTTPServerEngine.java
(original)
+++ cxf/trunk/rt/transports/http-jetty/src/main/java/org/apache/cxf/transport/http_jetty/JettyHTTPServerEngine.java
Wed Jul 27 03:32:05 2011
@@ -227,7 +227,10 @@ public class JettyHTTPServerEngine
         //this is most often seen in our unit/system tests that 
         //test things in the same VM.
         
-        String s = System.getProperty("org.apache.cxf.transports.http_jetty.DontClosePort");
+        String s = System.getProperty("org.apache.cxf.transports.http_jetty.DontClosePort."
+ port);
+        if (s == null) {
+            s = System.getProperty("org.apache.cxf.transports.http_jetty.DontClosePort");
+        }
         return !Boolean.valueOf(s);
     }
     



Mime
View raw message