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 di...@apache.org on 2006/10/25 05:44:30 UTC

svn commit: r467550 - /webservices/axis2/trunk/c/modules/core/transport/http/http_worker.c

Author: dinesh
Date: Tue Oct 24 20:44:29 2006
New Revision: 467550

URL: http://svn.apache.org/viewvc?view=rev&rev=467550
Log:
remove fix for issue :Accessing http://localhost:9090/axis2/services
gives me an empty page (axis2c-343), because this is not a proper fix and lead to
crashes windows build.
 --This line, and those below, will be ignored--

M    modules/core/transport/http/http_worker.c

Modified:
    webservices/axis2/trunk/c/modules/core/transport/http/http_worker.c

Modified: webservices/axis2/trunk/c/modules/core/transport/http/http_worker.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/transport/http/http_worker.c?view=diff&rev=467550&r1=467549&r2=467550
==============================================================================
--- webservices/axis2/trunk/c/modules/core/transport/http/http_worker.c (original)
+++ webservices/axis2/trunk/c/modules/core/transport/http/http_worker.c Tue Oct 24 20:44:29 2006
@@ -251,15 +251,15 @@
     }
     svr_ip = AXIS2_SIMPLE_HTTP_SVR_CONN_GET_SVR_IP(svr_conn, env);
 
-	 path =   AXIS2_HTTP_REQUEST_LINE_GET_URI(
-		  AXIS2_HTTP_SIMPLE_REQUEST_GET_REQUEST_LINE(
-				simple_request, env), env);
+	path =   AXIS2_HTTP_REQUEST_LINE_GET_URI(
+		AXIS2_HTTP_SIMPLE_REQUEST_GET_REQUEST_LINE(
+			simple_request, env), env);
 
     request_url = axis2_url_create(env, "http", svr_ip,
-											  http_worker_impl->svr_port,
-											  path);
+								   http_worker_impl->svr_port,
+								   path);
 
-	 url_external_form = AXIS2_URL_TO_EXTERNAL_FORM(request_url, env);
+	url_external_form = AXIS2_URL_TO_EXTERNAL_FORM(request_url, env);
     property = axis2_property_create(env);
     AXIS2_PROPERTY_SET_SCOPE(property, env, AXIS2_SCOPE_REQUEST);
     AXIS2_PROPERTY_SET_FREE_FUNC(property, env, axis2_stream_free_void_arg);
@@ -320,20 +320,6 @@
             axis2_char_t *body_string = NULL;
             AXIS2_HTTP_SIMPLE_RESPONSE_SET_STATUS_LINE(response, env,
                     http_version, AXIS2_HTTP_RESPONSE_OK_CODE_VAL, "OK");
-
-				path =   AXIS2_HTTP_REQUEST_LINE_GET_URI(
-					 AXIS2_HTTP_SIMPLE_REQUEST_GET_REQUEST_LINE(
-						  simple_request, env), env);
-				
-							 /* check for axis2/services */
-				if (path)
-				  {
-						if (path[strlen(path) - 1] != '/')
-						  {
-								strcat (path, "/");
-						  }
-
-				  }
     
             body_string = axis2_http_transport_utils_get_services_html(env,
                     conf_ctx);



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