Author: billblough
Date: Sun Dec 2 01:09:05 2018
New Revision: 1847932
URL: http://svn.apache.org/viewvc?rev=1847932&view=rev
Log:
Fix ssl connect through proxy
Fix logic error in axis2_http_client_connect_ssl_host where header
parsing would get stuck in a loop.
Fixes AXIS2C-1397 and AXIS2C-1665
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=1847932&r1=1847931&r2=1847932&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 Sun
Dec 2 01:09:05 2018
@@ -885,6 +885,12 @@ axis2_http_client_connect_ssl_host(
{
end_of_response = AXIS2_TRUE;
}
+ else
+ {
+ end_of_line == AXIS2_FALSE;
+ memset(str_status_line, 0, AXIS2_HTTP_STATUS_LINE_LENGTH);
+ }
+
}
}
AXIS2_FREE(env->allocator, connect_string);