File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1059,7 +1059,7 @@ int aws_http_client_connect_internal(
10591059 }
10601060
10611061#if defined(AWS_OS_IOS ) || defined(AWS_OS_TVOS )
1062- if (proxy_request_transform ) {
1062+ if (aws_is_using_secitem () && proxy_request_transform ) {
10631063 AWS_LOGF_ERROR (AWS_LS_HTTP_PROXY_NEGOTIATION , "HTTP proxy is not supported on iOS and tvOS platforms" );
10641064 return aws_raise_error (AWS_ERROR_PLATFORM_NOT_SUPPORTED );
10651065 }
Original file line number Diff line number Diff line change @@ -1567,7 +1567,7 @@ int aws_http_options_validate_proxy_configuration(const struct aws_http_client_c
15671567 }
15681568
15691569#if defined(AWS_OS_IOS ) || defined(AWS_OS_TVOS )
1570- if (options -> proxy_options || options -> proxy_ev_settings ) {
1570+ if (aws_is_using_secitem () && ( options -> proxy_options || options -> proxy_ev_settings ) ) {
15711571 AWS_LOGF_ERROR (AWS_LS_HTTP_PROXY_NEGOTIATION , "HTTP proxy is not supported on iOS and tvOS platforms" );
15721572 return aws_raise_error (AWS_ERROR_PLATFORM_NOT_SUPPORTED );
15731573 }
You can’t perform that action at this time.
0 commit comments