hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r429123 - in /jakarta/httpcomponents/httpcore/trunk/src/contrib/org/apache/http/contrib: benchmark/BenchmarkWorker.java spring/SpringHttpDemo.java
Date Sun, 06 Aug 2006 10:52:58 GMT
Author: olegk
Date: Sun Aug  6 03:52:58 2006
New Revision: 429123

URL: http://svn.apache.org/viewvc?rev=429123&view=rev
Log:
Fixed compilation problems introduced by HTTPCORE-7 changes

Modified:
    jakarta/httpcomponents/httpcore/trunk/src/contrib/org/apache/http/contrib/benchmark/BenchmarkWorker.java
    jakarta/httpcomponents/httpcore/trunk/src/contrib/org/apache/http/contrib/spring/SpringHttpDemo.java

Modified: jakarta/httpcomponents/httpcore/trunk/src/contrib/org/apache/http/contrib/benchmark/BenchmarkWorker.java
URL: http://svn.apache.org/viewvc/jakarta/httpcomponents/httpcore/trunk/src/contrib/org/apache/http/contrib/benchmark/BenchmarkWorker.java?rev=429123&r1=429122&r2=429123&view=diff
==============================================================================
--- jakarta/httpcomponents/httpcore/trunk/src/contrib/org/apache/http/contrib/benchmark/BenchmarkWorker.java
(original)
+++ jakarta/httpcomponents/httpcore/trunk/src/contrib/org/apache/http/contrib/benchmark/BenchmarkWorker.java
Sun Aug  6 03:52:58 2006
@@ -120,7 +120,7 @@
                     System.out.println();
                     System.out.println();
                 }
-                if (!keepalive || !this.connstrategy.keepAlive(response)) {
+                if (!keepalive || !this.connstrategy.keepAlive(conn, response)) {
                     conn.close();
                 }
                 stats.setContentLength(contentlen);

Modified: jakarta/httpcomponents/httpcore/trunk/src/contrib/org/apache/http/contrib/spring/SpringHttpDemo.java
URL: http://svn.apache.org/viewvc/jakarta/httpcomponents/httpcore/trunk/src/contrib/org/apache/http/contrib/spring/SpringHttpDemo.java?rev=429123&r1=429122&r2=429123&view=diff
==============================================================================
--- jakarta/httpcomponents/httpcore/trunk/src/contrib/org/apache/http/contrib/spring/SpringHttpDemo.java
(original)
+++ jakarta/httpcomponents/httpcore/trunk/src/contrib/org/apache/http/contrib/spring/SpringHttpDemo.java
Sun Aug  6 03:52:58 2006
@@ -76,7 +76,7 @@
             System.out.println("<< Response: " + response1.getStatusLine());
             System.out.println(EntityUtils.toString(response1.getEntity()));
             System.out.println("==============");
-            if (connStrategy.keepAlive(response1)) {
+            if (connStrategy.keepAlive(conn, response1)) {
                 System.out.println("Connection kept alive...");
             } else {
                 conn.close();
@@ -87,7 +87,7 @@
             System.out.println("<< Response: " + response2.getStatusLine());
             System.out.println(EntityUtils.toString(response2.getEntity()));
             System.out.println("==============");
-            if (connStrategy.keepAlive(response2)) {
+            if (connStrategy.keepAlive(conn, response2)) {
                 System.out.println("Connection kept alive...");
             } else {
                 conn.close();



Mime
View raw message