axis-c-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nand...@apache.org
Subject svn commit: r1034838 - /axis/axis2/c/core/trunk/src/core/transport/http/sender/http_client.c
Date Sat, 13 Nov 2010 18:40:21 GMT
Author: nandika
Date: Sat Nov 13 18:40:21 2010
New Revision: 1034838

URL: http://svn.apache.org/viewvc?rev=1034838&view=rev
Log:
Fix for jira issue 1501

Modified:
    axis/axis2/c/core/trunk/src/core/transport/http/sender/http_client.c

Modified: axis/axis2/c/core/trunk/src/core/transport/http/sender/http_client.c
URL: http://svn.apache.org/viewvc/axis/axis2/c/core/trunk/src/core/transport/http/sender/http_client.c?rev=1034838&r1=1034837&r2=1034838&view=diff
==============================================================================
--- axis/axis2/c/core/trunk/src/core/transport/http/sender/http_client.c (original)
+++ axis/axis2/c/core/trunk/src/core/transport/http/sender/http_client.c Sat Nov 13 18:40:21
2010
@@ -277,8 +277,9 @@ axis2_http_client_send(
                 return AXIS2_FAILURE;
             }
         }
-        client->data_stream =
-        axutil_stream_create_ssl(env, client->sockfd, axis2_http_client_get_server_cert(client,
+		if(!client->data_stream)
+			client->data_stream =
+			axutil_stream_create_ssl(env, client->sockfd, axis2_http_client_get_server_cert(client,
                 env), axis2_http_client_get_key_file(client, env), ssl_pp);
 #else
         axutil_network_handler_close_socket(env, client->sockfd);



Mime
View raw message