You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by ja...@apache.org on 2005/08/08 12:28:34 UTC
cvs commit: ws-axis/java/src/org/apache/axis/transport/http CommonsHTTPSender.java
jayachandra 2005/08/08 03:28:34
Modified: java/src/org/apache/axis/transport/http
CommonsHTTPSender.java
Log:
Removing the hardcoding on port number. Even for https 80 is being chosen
which isn't correct.
This is a fix in reference to jira issue AXIS-2044
Revision Changes Path
1.41 +1 -1 ws-axis/java/src/org/apache/axis/transport/http/CommonsHTTPSender.java
Index: CommonsHTTPSender.java
===================================================================
RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/transport/http/CommonsHTTPSender.java,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -r1.40 -r1.41
--- CommonsHTTPSender.java 31 Jul 2005 21:41:23 -0000 1.40
+++ CommonsHTTPSender.java 8 Aug 2005 10:28:34 -0000 1.41
@@ -423,7 +423,7 @@
HostConfiguration config = new HostConfiguration();
if (port == -1) {
- port = 80; // even for https
+ port = targetURL.getDefaultPort(); // 80 for http, 443 for https
}
if(hostInNonProxyList){
Re: cvs commit: ws-axis/java/src/org/apache/axis/transport/http CommonsHTTPSender.java
Posted by Davanum Srinivas <da...@gmail.com>.
Jaya,
Is this available in JDK1.3? :)
-- dims
On 8 Aug 2005 10:28:34 -0000, jayachandra@apache.org
<ja...@apache.org> wrote:
> jayachandra 2005/08/08 03:28:34
>
> Modified: java/src/org/apache/axis/transport/http
> CommonsHTTPSender.java
> Log:
> Removing the hardcoding on port number. Even for https 80 is being chosen
> which isn't correct.
> This is a fix in reference to jira issue AXIS-2044
>
> Revision Changes Path
> 1.41 +1 -1 ws-axis/java/src/org/apache/axis/transport/http/CommonsHTTPSender.java
>
> Index: CommonsHTTPSender.java
> ===================================================================
> RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/transport/http/CommonsHTTPSender.java,v
> retrieving revision 1.40
> retrieving revision 1.41
> diff -u -r1.40 -r1.41
> --- CommonsHTTPSender.java 31 Jul 2005 21:41:23 -0000 1.40
> +++ CommonsHTTPSender.java 8 Aug 2005 10:28:34 -0000 1.41
> @@ -423,7 +423,7 @@
> HostConfiguration config = new HostConfiguration();
>
> if (port == -1) {
> - port = 80; // even for https
> + port = targetURL.getDefaultPort(); // 80 for http, 443 for https
> }
>
> if(hostInNonProxyList){
>
>
>
>
--
Davanum Srinivas -http://blogs.cocoondev.org/dims/