hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rola...@apache.org
Subject svn commit: r619535 - /httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/conn/params/HttpRouteParams.java
Date Thu, 07 Feb 2008 18:11:27 GMT
Author: rolandw
Date: Thu Feb  7 10:11:17 2008
New Revision: 619535

URL: http://svn.apache.org/viewvc?rev=619535&view=rev
Log:
beautified NO_HOST, slightly

Modified:
    httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/conn/params/HttpRouteParams.java

Modified: httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/conn/params/HttpRouteParams.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/conn/params/HttpRouteParams.java?rev=619535&r1=619534&r2=619535&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/conn/params/HttpRouteParams.java
(original)
+++ httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/conn/params/HttpRouteParams.java
Thu Feb  7 10:11:17 2008
@@ -55,10 +55,10 @@
     /**
      * A special value indicating "no host".
      * This relies on a nonsense scheme name to avoid conflicts
-     * with actual hosts.
+     * with actual hosts. Note that this is a <i>valid</i> host.
      */
     public static final HttpHost NO_HOST =
-        new HttpHost("127.0.0.255", -32768, "$_");
+        new HttpHost("127.0.0.255", 0, "no-host");
 
     /**
      * A special value indicating "no route".



Mime
View raw message