diff --git a/cobalt/black_box_tests/black_box_tests.py b/cobalt/black_box_tests/black_box_tests.py index f86e5ad2b55f..c2295f529513 100755 --- a/cobalt/black_box_tests/black_box_tests.py +++ b/cobalt/black_box_tests/black_box_tests.py @@ -188,10 +188,8 @@ def LoadTests(launcher_params, test_set): if launcher.SupportsSuspendResume(): test_targets += _TESTS_NEEDING_SYSTEM_SIGNAL - # disabled due to deep linking break after posixification of sockets - # and we don't support deep links - # if launcher.SupportsDeepLink(): - # test_targets += _TESTS_NEEDING_DEEP_LINK + if launcher.SupportsDeepLink(): + test_targets += _TESTS_NEEDING_DEEP_LINK if test_set in ['all', 'wpt']: test_targets += _WPT_TESTS diff --git a/starboard/shared/starboard/link_receiver.cc b/starboard/shared/starboard/link_receiver.cc index c4d30209ac24..c0856fd51210 100644 --- a/starboard/shared/starboard/link_receiver.cc +++ b/starboard/shared/starboard/link_receiver.cc @@ -60,7 +60,7 @@ int CreateServerSocket(SbSocketAddressType address_type) { } if (socket_fd < 0) { SB_LOG(ERROR) << __FUNCTION__ << ": " - << "Socket create failed"; + << "Socket create failed, errno: " << errno; return -1; } @@ -70,7 +70,7 @@ int CreateServerSocket(SbSocketAddressType address_type) { << "SbSocketSetReuseAddress failed"; return -1; } - + SB_DLOG(INFO) << "Successfully created server socket with fd : " << socket_fd; return socket_fd; } @@ -81,8 +81,8 @@ int CreateLocallyBoundSocket(SbSocketAddressType address_type, int port) { return -1; } - socklen_t socklen; struct sockaddr_in addr_in = {0}; + socklen_t socklen = static_cast<socklen_t>(sizeof(addr_in)); int local_add_result = getsockname(socket, reinterpret_cast<sockaddr*>(&addr_in), &socklen);