Skip to content

Commit de8e135

Browse files
authored
Disabling until HTTPS redirection can be turned off at the server.
1 parent 9b0b075 commit de8e135

File tree

2 files changed

+42
-10
lines changed

2 files changed

+42
-10
lines changed

src/libraries/Common/tests/System/Net/Configuration.Http.cs

Lines changed: 33 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,16 @@ public static Uri[] GetEchoServerList()
6464
if (PlatformDetection.IsFirefox)
6565
{
6666
// https://github.com/dotnet/runtime/issues/101115
67-
return [RemoteEchoServer];
67+
// [ActiveIssue("https://github.com/dotnet/runtime/issues/110578)]
68+
// return [RemoteEchoServer];
69+
return [];
6870
}
69-
return [RemoteEchoServer, SecureRemoteEchoServer, Http2RemoteEchoServer];
71+
return [
72+
// [ActiveIssue("https://github.com/dotnet/runtime/issues/110578)]
73+
// RemoteEchoServer,
74+
SecureRemoteEchoServer,
75+
Http2RemoteEchoServer
76+
];
7077
}
7178

7279
public static readonly Uri RemoteVerifyUploadServer = new Uri("http://" + Host + "/" + VerifyUploadHandler);
@@ -82,8 +89,20 @@ public static Uri[] GetEchoServerList()
8289
public static Uri RemoteLoopServer => new Uri("ws://" + RemoteLoopHost + "/" + RemoteLoopHandler);
8390

8491
public static readonly object[][] EchoServers = GetEchoServerList().Select(x => new object[] { x }).ToArray();
85-
public static readonly object[][] VerifyUploadServers = { new object[] { RemoteVerifyUploadServer }, new object[] { SecureRemoteVerifyUploadServer }, new object[] { Http2RemoteVerifyUploadServer } };
86-
public static readonly object[][] CompressedServers = { new object[] { RemoteDeflateServer }, new object[] { RemoteGZipServer }, new object[] { Http2RemoteDeflateServer }, new object[] { Http2RemoteGZipServer } };
92+
public static readonly object[][] VerifyUploadServers = {
93+
// [ActiveIssue("https://github.com/dotnet/runtime/issues/110578)]
94+
// new object[] { RemoteVerifyUploadServer },
95+
new object[] { SecureRemoteVerifyUploadServer },
96+
new object[] { Http2RemoteVerifyUploadServer }
97+
};
98+
99+
public static readonly object[][] CompressedServers = {
100+
// [ActiveIssue("https://github.com/dotnet/runtime/issues/110578)]
101+
// new object[] { RemoteDeflateServer },
102+
new object[] { RemoteGZipServer },
103+
new object[] { Http2RemoteDeflateServer },
104+
new object[] { Http2RemoteGZipServer }
105+
};
87106

88107
public static readonly object[][] Http2Servers = { new object[] { new Uri("https://" + Http2Host) } };
89108
public static readonly object[][] Http2NoPushServers = { new object[] { new Uri("https://" + Http2NoPushHost) } };
@@ -97,9 +116,17 @@ public static IEnumerable<RemoteServer> GetRemoteServers()
97116
if (PlatformDetection.IsFirefox)
98117
{
99118
// https://github.com/dotnet/runtime/issues/101115
100-
return new RemoteServer[] { RemoteHttp11Server };
119+
// [ActiveIssue("https://github.com/dotnet/runtime/issues/110578)]
120+
// return new RemoteServer[] { RemoteHttp11Server };
121+
return [];
101122
}
102-
return new RemoteServer[] { RemoteHttp11Server, RemoteSecureHttp11Server, RemoteHttp2Server };
123+
return new RemoteServer[]
124+
{
125+
// [ActiveIssue("https://github.com/dotnet/runtime/issues/110578)]
126+
// RemoteHttp11Server,
127+
RemoteSecureHttp11Server,
128+
RemoteHttp2Server
129+
};
103130
}
104131

105132
public static readonly IEnumerable<object[]> RemoteServersMemberData = GetRemoteServers().Select(s => new object[] { s });

src/libraries/Common/tests/System/Net/Configuration.WebSockets.cs

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,14 @@ public static object[][] GetEchoServers()
2828
{
2929
// https://github.com/dotnet/runtime/issues/101115
3030
return new object[][] {
31-
new object[] { RemoteEchoServer },
31+
// [ActiveIssue("https://github.com/dotnet/runtime/issues/110578)]
32+
// new object[] { RemoteEchoServer },
33+
3234
};
3335
}
3436
return new object[][] {
35-
new object[] { RemoteEchoServer },
37+
// [ActiveIssue("https://github.com/dotnet/runtime/issues/110578)]
38+
// new object[] { RemoteEchoServer },
3639
new object[] { SecureRemoteEchoServer },
3740
};
3841
}
@@ -43,11 +46,13 @@ public static object[][] GetEchoHeadersServers()
4346
{
4447
// https://github.com/dotnet/runtime/issues/101115
4548
return new object[][] {
46-
new object[] { RemoteEchoHeadersServer },
49+
// [ActiveIssue("https://github.com/dotnet/runtime/issues/110578)]
50+
// new object[] { RemoteEchoHeadersServer },
4751
};
4852
}
4953
return new object[][] {
50-
new object[] { RemoteEchoHeadersServer },
54+
// [ActiveIssue("https://github.com/dotnet/runtime/issues/110578)]
55+
// new object[] { RemoteEchoHeadersServer },
5156
new object[] { SecureRemoteEchoHeadersServer },
5257
};
5358
}

0 commit comments

Comments
 (0)