Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,16 @@ private String determineEndpoint() throws IOException {
/** Determine if S2A can be used */
@VisibleForTesting
boolean shouldUseS2A() {
// If running on windows or macos intel, skip S2A. S2A has runtime
// dependency on netty-tcnative which is dropping support on these platforms.
// https://github.com/netty/netty-tcnative/issues/898
// https://github.com/netty/netty-tcnative/issues/897
if (System.getProperty("os.name").contains("Windows")
|| (System.getProperty("os.name").contains("OS X")
&& System.getProperty("os.arch").contains("x86_64"))) {
return false;
}

// If mTLS endpoint is not available, skip S2A
if (Strings.isNullOrEmpty(mtlsEndpoint())) {
return false;
Expand Down
Loading