axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From din...@apache.org
Subject svn commit: r512192 - /webservices/axis2/scratch/c/dinesh/532/c/modules/core/transport/http/sender/libcurl/axis2_libcurl.c
Date Tue, 27 Feb 2007 09:34:28 GMT
Author: dinesh
Date: Tue Feb 27 01:34:26 2007
New Revision: 512192

URL: http://svn.apache.org/viewvc?view=rev&rev=512192
Log:
axis2c:532 transport sender refactoring

Modified:
    webservices/axis2/scratch/c/dinesh/532/c/modules/core/transport/http/sender/libcurl/axis2_libcurl.c

Modified: webservices/axis2/scratch/c/dinesh/532/c/modules/core/transport/http/sender/libcurl/axis2_libcurl.c
URL: http://svn.apache.org/viewvc/webservices/axis2/scratch/c/dinesh/532/c/modules/core/transport/http/sender/libcurl/axis2_libcurl.c?view=diff&rev=512192&r1=512191&r2=512192
==============================================================================
--- webservices/axis2/scratch/c/dinesh/532/c/modules/core/transport/http/sender/libcurl/axis2_libcurl.c
(original)
+++ webservices/axis2/scratch/c/dinesh/532/c/modules/core/transport/http/sender/libcurl/axis2_libcurl.c
Tue Feb 27 01:34:26 2007
@@ -284,7 +284,7 @@
 		curl_easy_setopt (handler, CURLOPT_URL, url_encode);
 	}
 
-	curl_easy_setopt (handler, CURLOPT_VERBOSE, 1);
+/* 	curl_easy_setopt (handler, CURLOPT_VERBOSE, 1); */
 	curl_easy_setopt (handler, CURLOPT_HTTPHEADER, headers);
 	curl_easy_setopt (handler, CURLOPT_WRITEFUNCTION, axis2_libcurl_write_memory_callback);
 	curl_easy_setopt (handler, CURLOPT_WRITEDATA, data);
@@ -312,9 +312,9 @@
 	axis2_char_t *buffer = (axis2_char_t *) AXIS2_MALLOC (mem->env->allocator, mem->size
+ realsize + 1);
 	if (buffer) 
 	{
-
 		if (mem->size)
 			memcpy (&(buffer[0]), mem->memory, mem->size);
+
 			memcpy(&(buffer[mem->size]), ptr, realsize);
 			mem->size += realsize;
 			buffer[mem->size] = 0;



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


Mime
View raw message