182744510Sopenharmony_cidiff -Naur grpc-1.41.1/src/core/lib/iomgr/event_engine/resolver.cc third_party_grpc_sxy/src/core/lib/iomgr/event_engine/resolver.cc 282744510Sopenharmony_ci--- grpc-1.41.1/src/core/lib/iomgr/event_engine/resolver.cc 2021-10-20 04:14:40.000000000 +0800 382744510Sopenharmony_ci+++ third_party_grpc_sxy/src/core/lib/iomgr/event_engine/resolver.cc 2023-04-20 14:24:54.000000000 +0800 482744510Sopenharmony_ci@@ -80,12 +80,13 @@ 582744510Sopenharmony_ci grpc_closure* on_done, 682744510Sopenharmony_ci grpc_resolved_addresses** addresses) { 782744510Sopenharmony_ci auto dns_resolver = grpc_iomgr_event_engine()->GetDNSResolver(); 882744510Sopenharmony_ci- if (!dns_resolver.ok()) { 982744510Sopenharmony_ci- grpc_core::ExecCtx::Run(DEBUG_LOCATION, on_done, 1082744510Sopenharmony_ci- absl_status_to_grpc_error(dns_resolver.status())); 1182744510Sopenharmony_ci+ if (dns_resolver == nullptr) { 1282744510Sopenharmony_ci+ grpc_core::ExecCtx::Run( 1382744510Sopenharmony_ci+ DEBUG_LOCATION, on_done, 1482744510Sopenharmony_ci+ GRPC_ERROR_CREATE_FROM_STATIC_STRING("Failed to get DNS Resolver.")); 1582744510Sopenharmony_ci return; 1682744510Sopenharmony_ci } 1782744510Sopenharmony_ci- new DnsRequest(std::move(*dns_resolver), addr, default_port, on_done, 1882744510Sopenharmony_ci+ new DnsRequest(std::move(dns_resolver), addr, default_port, on_done, 1982744510Sopenharmony_ci addresses); 2082744510Sopenharmony_ci } 2182744510Sopenharmony_ci 2282744510Sopenharmony_cidiff -Naur grpc-1.41.1/src/core/lib/iomgr/event_engine/tcp.cc third_party_grpc_sxy/src/core/lib/iomgr/event_engine/tcp.cc 2382744510Sopenharmony_ci--- grpc-1.41.1/src/core/lib/iomgr/event_engine/tcp.cc 2021-10-20 04:14:40.000000000 +0800 2482744510Sopenharmony_ci+++ third_party_grpc_sxy/src/core/lib/iomgr/event_engine/tcp.cc 2023-04-20 14:24:54.000000000 +0800 2582744510Sopenharmony_ci@@ -175,7 +175,7 @@ 2682744510Sopenharmony_ci EventEngine* event_engine = grpc_iomgr_event_engine(); 2782744510Sopenharmony_ci absl::StatusOr<std::unique_ptr<EventEngine::Listener>> listener = 2882744510Sopenharmony_ci event_engine->CreateListener( 2982744510Sopenharmony_ci- [server](std::unique_ptr<EventEngine::Endpoint> ee_endpoint) { 3082744510Sopenharmony_ci+ [server](std::unique_ptr<EventEngine::Endpoint> ee_endpoint, const SliceAllocator&) { 3182744510Sopenharmony_ci grpc_core::ExecCtx exec_ctx; 3282744510Sopenharmony_ci GPR_ASSERT((*server)->on_accept_internal != nullptr); 3382744510Sopenharmony_ci grpc_event_engine_endpoint* iomgr_endpoint = 3482744510Sopenharmony_ci@@ -277,16 +277,5 @@ 3582744510Sopenharmony_ci int fd; 3682744510Sopenharmony_ci }; 3782744510Sopenharmony_ci 3882744510Sopenharmony_ci-grpc_fd* grpc_fd_create(int /* fd */, const char* /* name */, 3982744510Sopenharmony_ci- bool /* track_err */) { 4082744510Sopenharmony_ci- return nullptr; 4182744510Sopenharmony_ci-} 4282744510Sopenharmony_ci- 4382744510Sopenharmony_ci-grpc_endpoint* grpc_tcp_client_create_from_fd( 4482744510Sopenharmony_ci- grpc_fd* /* fd */, const grpc_channel_args* /* channel_args */, 4582744510Sopenharmony_ci- const char* /* addr_str */, grpc_slice_allocator* slice_allocator) { 4682744510Sopenharmony_ci- grpc_slice_allocator_destroy(slice_allocator); 4782744510Sopenharmony_ci- return nullptr; 4882744510Sopenharmony_ci-} 4982744510Sopenharmony_ci 5082744510Sopenharmony_ci #endif // GRPC_USE_EVENT_ENGINE 5182744510Sopenharmony_cidiff -Naur grpc-1.41.1/src/core/lib/iomgr/event_engine/timer.cc third_party_grpc_sxy/src/core/lib/iomgr/event_engine/timer.cc 5282744510Sopenharmony_ci--- grpc-1.41.1/src/core/lib/iomgr/event_engine/timer.cc 2021-10-20 04:14:40.000000000 +0800 5382744510Sopenharmony_ci+++ third_party_grpc_sxy/src/core/lib/iomgr/event_engine/timer.cc 2023-04-20 14:24:54.000000000 +0800 5482744510Sopenharmony_ci@@ -32,7 +32,7 @@ 5582744510Sopenharmony_ci timer->ee_task_handle = grpc_iomgr_event_engine()->RunAt( 5682744510Sopenharmony_ci grpc_core::ToAbslTime( 5782744510Sopenharmony_ci grpc_millis_to_timespec(deadline, GPR_CLOCK_REALTIME)), 5882744510Sopenharmony_ci- GrpcClosureToCallback(closure, GRPC_ERROR_NONE), {}); 5982744510Sopenharmony_ci+ GrpcClosureToCallback(closure, GRPC_ERROR_NONE)); 6082744510Sopenharmony_ci } 6182744510Sopenharmony_ci 6282744510Sopenharmony_ci void timer_cancel(grpc_timer* timer) { 63