From 47df32568637dffebf3ece215c7f04a894798310 Mon Sep 17 00:00:00 2001 From: Hyobo Date: Mon, 3 Jun 2024 14:27:08 +0800 Subject: [PATCH] Fix for verify the crash handler yts case fail [1/1] Issue link: https://partnerissuetracker.corp.google.com/u/0/issues/323792488 Problem: Evergreen Full verify the crash handler functionality case fail Solution: When the device network did not support ipv6,use ipv4 to create socket Verify: Local test Signed-off-by: Hyobo --- .../crashpad/crashpad/util/net/http_transport_socket.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/third_party/crashpad/crashpad/util/net/http_transport_socket.cc b/third_party/crashpad/crashpad/util/net/http_transport_socket.cc index edfd85746d3e..fbdec82897fa 100644 --- a/third_party/crashpad/crashpad/util/net/http_transport_socket.cc +++ b/third_party/crashpad/crashpad/util/net/http_transport_socket.cc @@ -329,7 +329,11 @@ base::ScopedFD CreateSocket(const std::string& hostname, } else if (WaitUntilSocketIsReady(result.get())) { return result; } - return base::ScopedFD(); + #if defined(STARBOARD) || defined(NATIVE_TARGET_BUILD) + continue; + #else + return base::ScopedFD(); + #endif } return result;