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 ax...@ws.apache.org on 2004/10/05 12:09:33 UTC

[jira] Closed: (AXIS-1349) HTTPSender doesn't with proxies in 1.2beta

Message:

   The following issue has been closed.

   Resolver: Davanum Srinivas
       Date: Tue, 5 Oct 2004 3:08 AM

i've tested the current code via a proxy. works fine.

-- dims
---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/AXIS-1349

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: AXIS-1349
    Summary: HTTPSender doesn't with proxies in 1.2beta
       Type: Bug

     Status: Closed
   Priority: Critical
 Resolution: CANNOT REPRODUCE

    Project: Axis
   Fix Fors:
             current (nightly)
   Versions:
             1.2 Beta

   Assignee: 
   Reporter: Michael Bock

    Created: Thu, 6 May 2004 6:25 AM
    Updated: Tue, 5 Oct 2004 3:08 AM
Environment: JDK 1.4.2

Description:
When using a proxy, the first line in HTTP requests should contain the complete url including protocol and hostname. Since 1.2beta, the HTTPSender only sends the file component, so the request isn't understood by the proxy. 
This problem doesn't arise with older version (up to 1.2alpha).
It seems to be caused by refactoring the getSocket-Call in HTTPSender.writeToSocket to another location. So the parameter useFullURL is still false in 

        if (useFullURL.value) {
            header.append(tmpURL.toExternalForm());
        } ....

As a workaround, the CommonsHTTPSender may be used, which doesn't suffer from this problem.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira