You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-commits@axis.apache.org by na...@apache.org on 2010/11/13 19:40:21 UTC

svn commit: r1034838 - /axis/axis2/c/core/trunk/src/core/transport/http/sender/http_client.c

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);