You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by se...@apache.org on 2008/03/16 16:33:38 UTC

svn commit: r637597 - /webservices/axis2/trunk/c/src/core/transport/http/server/apache2/apache2_worker.c

Author: senaka
Date: Sun Mar 16 08:33:37 2008
New Revision: 637597

URL: http://svn.apache.org/viewvc?rev=637597&view=rev
Log:
Fixing Issue in identifying request URL

Modified:
    webservices/axis2/trunk/c/src/core/transport/http/server/apache2/apache2_worker.c

Modified: webservices/axis2/trunk/c/src/core/transport/http/server/apache2/apache2_worker.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/src/core/transport/http/server/apache2/apache2_worker.c?rev=637597&r1=637596&r2=637597&view=diff
==============================================================================
--- webservices/axis2/trunk/c/src/core/transport/http/server/apache2/apache2_worker.c (original)
+++ webservices/axis2/trunk/c/src/core/transport/http/server/apache2/apache2_worker.c Sun Mar 16 08:33:37 2008
@@ -184,13 +184,9 @@
     http_version = request->protocol;
 
     request_url = axutil_url_create(env, "http",
-                                    request->connection->local_host,
-                                    request->server->port,
+                                    request->hostname,
+                                    request->parsed_uri.port,
                                     request->unparsed_uri);
-    /* request->server->port doesn't give the port of the server.
-     * This has to be fixed. However, the port doesn't matter to the
-     * logic within this method as of present.
-     */
     if (request_url)
     {
         url_external_form = axutil_url_to_external_form(request_url, env);



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org