Skip to content

Tcp服务端允许Tcp连接发送0长度数据包 #179

Tcp服务端允许Tcp连接发送0长度数据包

Tcp服务端允许Tcp连接发送0长度数据包 #179

Triggered via push July 30, 2023 00:09
Status Success
Total duration 4m 5s
Artifacts

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

20 warnings
test: Test/Program.cs#L32
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
test: Test/Program.cs#L326
'SslProtocols.Tls' is obsolete: 'TLS versions 1.0 and 1.1 have known vulnerabilities and are not recommended. Use a newer TLS version instead, or use SslProtocols.None to defer to OS defaults.'
test: Test/Program.cs#L342
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
test: XUnitTest.Core/Log/TracerTests.cs#L401
'WebRequest.CreateHttp(string)' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.'
test: XUnitTest.Core/IO/ExcelReaderTests.cs#L40
Public method 'Test2' on test class 'ExcelReaderTests' should be marked as a Fact. Reduce the visibility of the method, or add a Fact attribute to the method.
test: XUnitTest.Core/Security/ECDsaHelperTests.cs#L63
This call site is reachable on all platforms. 'CngKey.Import(byte[], CngKeyBlobFormat)' is only supported on: 'windows'.
test: XUnitTest.Core/Security/ECDsaHelperTests.cs#L39
This call site is reachable on all platforms. 'CngKey.Import(byte[], CngKeyBlobFormat)' is only supported on: 'windows'.
test: XUnitTest.Core/Security/ECDsaHelperTests.cs#L64
This call site is reachable on all platforms. 'ECDsaCng' is only supported on: 'windows'.
test: XUnitTest.Core/Security/ECDsaHelperTests.cs#L54
This call site is reachable on all platforms. 'ECDsaCng' is only supported on: 'windows'.
test: XUnitTest.Core/Security/ECDsaHelperTests.cs#L40
This call site is reachable on all platforms. 'ECDsaCng' is only supported on: 'windows'.
test: Test/Program.cs#L32
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
test: Test/Program.cs#L326
'SslProtocols.Tls' is obsolete: 'TLS versions 1.0 and 1.1 have known vulnerabilities and are not recommended. Use a newer TLS version instead, or use SslProtocols.None to defer to OS defaults.'
test: Test/Program.cs#L342
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
test: XUnitTest.Core/Log/TracerTests.cs#L401
'WebRequest.CreateHttp(string)' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.'
test: XUnitTest.Core/IO/ExcelReaderTests.cs#L40
Public method 'Test2' on test class 'ExcelReaderTests' should be marked as a Fact. Reduce the visibility of the method, or add a Fact attribute to the method.
test: XUnitTest.Core/Security/ECDsaHelperTests.cs#L54
This call site is reachable on all platforms. 'ECDsaCng' is only supported on: 'windows'.
test: XUnitTest.Core/Security/ECDsaHelperTests.cs#L78
This call site is reachable on all platforms. 'ECDsaCng' is only supported on: 'windows'.
test: XUnitTest.Core/Security/ECDsaHelperTests.cs#L63
This call site is reachable on all platforms. 'CngKey.Import(byte[], CngKeyBlobFormat)' is only supported on: 'windows'.
test: XUnitTest.Core/Security/ECDsaHelperTests.cs#L40
This call site is reachable on all platforms. 'ECDsaCng' is only supported on: 'windows'.
test: XUnitTest.Core/Security/ECDsaHelperTests.cs#L39
This call site is reachable on all platforms. 'CngKey.Import(byte[], CngKeyBlobFormat)' is only supported on: 'windows'.