|
|
|
@ -126,13 +126,12 @@ static bool compare_slice_buffer_with_buffer(grpc_slice_buffer *slices, const ch |
|
|
|
|
/* connect to it */ |
|
|
|
|
XCTAssertEqual(getsockname(svr_fd, (struct sockaddr *)addr, (socklen_t *)&resolved_addr.len), 0); |
|
|
|
|
init_event_closure(&done, &connected_promise); |
|
|
|
|
const grpc_channel_args *args = grpc_core::CoreConfiguration::Get() |
|
|
|
|
.channel_args_preconditioning() |
|
|
|
|
.PreconditionChannelArgs(nullptr) |
|
|
|
|
.ToC(); |
|
|
|
|
grpc_tcp_client_connect(&done, &ep_, nullptr, args, &resolved_addr, |
|
|
|
|
auto args = grpc_core::CoreConfiguration::Get() |
|
|
|
|
.channel_args_preconditioning() |
|
|
|
|
.PreconditionChannelArgs(nullptr) |
|
|
|
|
.ToC(); |
|
|
|
|
grpc_tcp_client_connect(&done, &ep_, nullptr, args.get(), &resolved_addr, |
|
|
|
|
grpc_core::Timestamp::InfFuture()); |
|
|
|
|
grpc_channel_args_destroy(args); |
|
|
|
|
|
|
|
|
|
/* await the connection */ |
|
|
|
|
do { |
|
|
|
|