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 di...@apache.org on 2007/04/04 07:05:06 UTC

svn commit: r525403 - in /webservices/axis2/trunk/c: include/ modules/core/transport/http/sender/ tools/tcpmon/src/

Author: dinesh
Date: Tue Apr  3 22:05:04 2007
New Revision: 525403

URL: http://svn.apache.org/viewvc?view=rev&rev=525403
Log:
send_util.c removed.

Removed:
    webservices/axis2/trunk/c/modules/core/transport/http/sender/axis2_http_sender_util.h
    webservices/axis2/trunk/c/modules/core/transport/http/sender/sender_util.c
Modified:
    webservices/axis2/trunk/c/include/axis2_http_sender.h
    webservices/axis2/trunk/c/modules/core/transport/http/sender/Makefile.am
    webservices/axis2/trunk/c/modules/core/transport/http/sender/http_sender.c
    webservices/axis2/trunk/c/tools/tcpmon/src/entry.c

Modified: webservices/axis2/trunk/c/include/axis2_http_sender.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_http_sender.h?view=diff&rev=525403&r1=525402&r2=525403
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_http_sender.h (original)
+++ webservices/axis2/trunk/c/include/axis2_http_sender.h Tue Apr  3 22:05:04 2007
@@ -35,6 +35,7 @@
 #include <axiom_output.h>
 #include <axis2_http_simple_response.h>
 #include <axiom_soap_envelope.h>
+#include <axis2_http_simple_request.h>
 
 #ifdef AXIS2_LIBCURL_ENABLED
 #include <curl/curl.h>
@@ -66,6 +67,14 @@
         axiom_soap_envelope_t *out,
         const axis2_char_t *str_url,
         const axis2_char_t *soap_action);
+
+
+    void AXIS2_CALL
+    axis2_http_sender_util_add_header (
+        const axutil_env_t *env,
+        axis2_http_simple_request_t *request,
+        axis2_char_t *header_name,
+        const axis2_char_t *header_value);
 
 #ifdef AXIS2_LIBCURL_ENABLED
     AXIS2_EXTERN axis2_status_t AXIS2_CALL

Modified: webservices/axis2/trunk/c/modules/core/transport/http/sender/Makefile.am
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/transport/http/sender/Makefile.am?view=diff&rev=525403&r1=525402&r2=525403
==============================================================================
--- webservices/axis2/trunk/c/modules/core/transport/http/sender/Makefile.am (original)
+++ webservices/axis2/trunk/c/modules/core/transport/http/sender/Makefile.am Tue Apr  3 22:05:04 2007
@@ -2,7 +2,6 @@
 lib_LTLIBRARIES = libaxis2_http_sender.la
 libaxis2_http_sender_la_SOURCES = http_transport_sender.c\
                                   http_sender.c\
-                                  sender_util.c\
                                   http_client.c
 
 libaxis2_http_sender_la_LIBADD = $(top_builddir)/modules/core/transport/http/common/libaxis2_http_common.la\

Modified: webservices/axis2/trunk/c/modules/core/transport/http/sender/http_sender.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/transport/http/sender/http_sender.c?view=diff&rev=525403&r1=525402&r2=525403
==============================================================================
--- webservices/axis2/trunk/c/modules/core/transport/http/sender/http_sender.c (original)
+++ webservices/axis2/trunk/c/modules/core/transport/http/sender/http_sender.c Tue Apr  3 22:05:04 2007
@@ -33,7 +33,6 @@
 #include <axis2_const.h>
 #include <axis2_util.h>
 #include <axiom_soap.h>
-#include "axis2_http_sender_util.h"
 
 #ifdef AXIS2_LIBCURL_ENABLED
 #include "libcurl/axis2_libcurl.h"
@@ -1171,4 +1170,15 @@
         }
     }
     return flag;
+}
+
+void
+axis2_http_sender_util_add_header (const axutil_env_t *env,
+				   axis2_http_simple_request_t *request,
+				   axis2_char_t *header_name,
+				   const axis2_char_t *header_value)
+{
+	axis2_http_header_t *http_header;
+    http_header = axis2_http_header_create(env, header_name, header_value);
+    axis2_http_simple_request_add_header(request, env, http_header);
 }

Modified: webservices/axis2/trunk/c/tools/tcpmon/src/entry.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/tools/tcpmon/src/entry.c?view=diff&rev=525403&r1=525402&r2=525403
==============================================================================
--- webservices/axis2/trunk/c/tools/tcpmon/src/entry.c (original)
+++ webservices/axis2/trunk/c/tools/tcpmon/src/entry.c Tue Apr  3 22:05:04 2007
@@ -511,7 +511,7 @@
 	 buffer = read_current_stream(host_stream, env, &buffer_size,
 											&headers, &content);
 
-	 test_bit = TCPMON_SESSION_GET_TEST_BIT (session, env);
+	test_bit = TCPMON_SESSION_GET_TEST_BIT (session, env);
 	 if (test_bit)
 		{
 			 write_to_file ("response", buffer);



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