Skip to content

Commit

Permalink
cleanup and test fix for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
sbSteveK committed Nov 5, 2024
1 parent 1efece0 commit e66a9a6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
6 changes: 0 additions & 6 deletions source/darwin/nw_socket.c
Original file line number Diff line number Diff line change
Expand Up @@ -437,12 +437,6 @@ static void s_setup_tls_options(
aws_raise_error(error_code);
CFRelease(error);
}
// DEBUG WIP trigger the on_negotiation_result func w/error here?
// We may be able to remove on_tls_negotiation_result_fn from nw_socket
// if (nw_socket->on_tls_negotiation_result_fn) {
// nw_socket->on_tls_negotiation_result_fn(
// NULL, NULL, error_code, nw_socket->on_tls_negotiation_result_user_data);
// }
complete(verification_successful);
},
dispatch_loop->dispatch_queue);
Expand Down
2 changes: 1 addition & 1 deletion tests/socket_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -2064,7 +2064,7 @@ static int s_local_socket_pipe_connected_race(struct aws_allocator *allocator, v
struct aws_socket listener;
ASSERT_SUCCESS(aws_socket_init(&listener, allocator, &options));

ASSERT_SUCCESS(aws_socket_bind(&listener, &endpoint));
ASSERT_SUCCESS(aws_socket_bind(&listener, &endpoint, NULL, NULL));

ASSERT_SUCCESS(aws_socket_listen(&listener, 1024));

Expand Down

0 comments on commit e66a9a6

Please sign in to comment.