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 2008/04/16 10:08:00 UTC

svn commit: r648608 - in /webservices/axis2/trunk/c: samples/ src/core/transport/http/sender/ src/core/transport/http/sender/libcurl/

Author: dinesh
Date: Wed Apr 16 01:07:51 2008
New Revision: 648608

URL: http://svn.apache.org/viewvc?rev=648608&view=rev
Log:
fixed:axis2c-1105, thanks Steve Narin for the patch

Modified:
    webservices/axis2/trunk/c/samples/build.sh
    webservices/axis2/trunk/c/src/core/transport/http/sender/http_transport_sender.c
    webservices/axis2/trunk/c/src/core/transport/http/sender/libcurl/axis2_libcurl.c
    webservices/axis2/trunk/c/src/core/transport/http/sender/libcurl/libcurl_stream.c
    webservices/axis2/trunk/c/src/core/transport/http/sender/libcurl/libcurl_stream.h

Modified: webservices/axis2/trunk/c/samples/build.sh
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/samples/build.sh?rev=648608&r1=648607&r2=648608&view=diff
==============================================================================
--- webservices/axis2/trunk/c/samples/build.sh (original)
+++ webservices/axis2/trunk/c/samples/build.sh Wed Apr 16 01:07:51 2008
@@ -2,7 +2,7 @@
 
 ./autogen.sh
 
-./configure --prefix=${AXIS2C_HOME} --with-axis2=${AXIS2C_HOME}/include/axis2-1.3.0
+./configure --prefix=${AXIS2C_HOME} --with-axis2=${AXIS2C_HOME}/include/axis2-1.3.1
 make 
 make install
 

Modified: webservices/axis2/trunk/c/src/core/transport/http/sender/http_transport_sender.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/src/core/transport/http/sender/http_transport_sender.c?rev=648608&r1=648607&r2=648608&view=diff
==============================================================================
--- webservices/axis2/trunk/c/src/core/transport/http/sender/http_transport_sender.c (original)
+++ webservices/axis2/trunk/c/src/core/transport/http/sender/http_transport_sender.c Wed Apr 16 01:07:51 2008
@@ -760,7 +760,7 @@
                                   AXIS2_INTF_TO_IMPL(transport_sender)->
                                   http_version);
 #ifdef AXIS2_LIBCURL_ENABLED
-    AXIS2_LOG_DEBUG (env->log, AXIS2_LOG_SI, "using axis2 liburl http sender.");
+    AXIS2_LOG_DEBUG (env->log, AXIS2_LOG_SI, "using axis2 libcurl http sender.");
     status =
         axis2_libcurl_http_send(AXIS2_INTF_TO_IMPL(transport_sender)->libcurl,
                                 sender, env, msg_ctx, out, url, soap_action);

Modified: webservices/axis2/trunk/c/src/core/transport/http/sender/libcurl/axis2_libcurl.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/src/core/transport/http/sender/libcurl/axis2_libcurl.c?rev=648608&r1=648607&r2=648608&view=diff
==============================================================================
--- webservices/axis2/trunk/c/src/core/transport/http/sender/libcurl/axis2_libcurl.c (original)
+++ webservices/axis2/trunk/c/src/core/transport/http/sender/libcurl/axis2_libcurl.c Wed Apr 16 01:07:51 2008
@@ -528,7 +528,7 @@
     trans_in_property = axutil_property_create(env);
     axutil_property_set_scope(trans_in_property, env, AXIS2_SCOPE_REQUEST);
     axutil_property_set_free_func(trans_in_property, env,
-                                  axutil_stream_free_void_arg);
+                                  libcurl_stream_free);
     axutil_property_set_value(trans_in_property, env, in_stream);
     axis2_msg_ctx_set_property(msg_ctx, env, AXIS2_TRANSPORT_IN,
                                trans_in_property);

Modified: webservices/axis2/trunk/c/src/core/transport/http/sender/libcurl/libcurl_stream.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/src/core/transport/http/sender/libcurl/libcurl_stream.c?rev=648608&r1=648607&r2=648608&view=diff
==============================================================================
--- webservices/axis2/trunk/c/src/core/transport/http/sender/libcurl/libcurl_stream.c (original)
+++ webservices/axis2/trunk/c/src/core/transport/http/sender/libcurl/libcurl_stream.c Wed Apr 16 01:07:51 2008
@@ -32,10 +32,6 @@
 #define AXIS2_INTF_TO_IMPL(stream) ((libcurl_stream_impl_t *)(stream))
 
 /********************************Function headers******************************/
-void AXIS2_CALL libcurl_stream_free(
-    axutil_stream_t * stream,
-    const axutil_env_t * env);
-
 axutil_stream_type_t AXIS2_CALL libcurl_stream_get_type(
     axutil_stream_t * stream,
     const axutil_env_t * env);
@@ -100,7 +96,7 @@
 
 void AXIS2_CALL
 libcurl_stream_free(
-    axutil_stream_t * stream,
+    void * stream,
     const axutil_env_t * env)
 {
     libcurl_stream_impl_t *stream_impl = NULL;
@@ -192,5 +188,5 @@
     return 0;
 }
 
-#endif                          /* AXIS2_HTTP_SENDER_H */
+#endif                          /* AXIS2_LIBCURL_ENABLED */
 

Modified: webservices/axis2/trunk/c/src/core/transport/http/sender/libcurl/libcurl_stream.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/src/core/transport/http/sender/libcurl/libcurl_stream.h?rev=648608&r1=648607&r2=648608&view=diff
==============================================================================
--- webservices/axis2/trunk/c/src/core/transport/http/sender/libcurl/libcurl_stream.h (original)
+++ webservices/axis2/trunk/c/src/core/transport/http/sender/libcurl/libcurl_stream.h Wed Apr 16 01:07:51 2008
@@ -39,6 +39,11 @@
 
     /** @} */
 
+    void AXIS2_CALL libcurl_stream_free(
+        void * stream,
+        const axutil_env_t * env);
+
+
 #ifdef __cplusplus
 }
 #endif



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