Skip to content

Commit 043c0d7

Browse files
committed
remove valiadtion fron http client
1 parent a006de6 commit 043c0d7

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

source/connection.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1057,7 +1057,6 @@ int aws_http_client_connect_internal(
10571057
AWS_LOGF_ERROR(AWS_LS_HTTP_CONNECTION, "static: http connection options are null.");
10581058
return aws_raise_error(AWS_ERROR_INVALID_ARGUMENT);
10591059
}
1060-
10611060
struct aws_http_client_bootstrap *http_bootstrap = NULL;
10621061
struct aws_string *host_name = NULL;
10631062
int err = 0;
@@ -1186,11 +1185,6 @@ int aws_http_client_connect_internal(
11861185
int aws_http_client_connect(const struct aws_http_client_connection_options *options) {
11871186
aws_http_fatal_assert_library_initialized();
11881187

1189-
#if defined(AWS_USE_SECITEM)
1190-
AWS_LOGF_ERROR(AWS_LS_HTTP_PROXY_NEGOTIATION, "HTTP proxy is not supported on Apple Network Framework.");
1191-
return aws_raise_error(AWS_ERROR_PLATFORM_NOT_SUPPORTED);
1192-
#endif
1193-
11941188
if (options->prior_knowledge_http2 && options->tls_options) {
11951189
AWS_LOGF_ERROR(AWS_LS_HTTP_CONNECTION, "static: HTTP/2 prior knowledge only works with cleartext TCP.");
11961190
return aws_raise_error(AWS_ERROR_INVALID_ARGUMENT);

0 commit comments

Comments
 (0)