Skip to content

Add configurable max message size enforcement #37

Add configurable max message size enforcement

Add configurable max message size enforcement #37

Triggered via pull request July 25, 2025 21:13
Status Success
Total duration 44s
Artifacts

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
build: Src/SmtpServer.Tests/SmtpServerTests.cs#L161
Test methods should not use blocking task operations, as they can cause deadlocks. Use an async test method and await instead. (https://xunit.net/xunit.analyzers/rules/xUnit1031)
build: Src/SmtpServer.Tests/SmtpServerTests.cs#L157
Test methods should not use blocking task operations, as they can cause deadlocks. Use an async test method and await instead. (https://xunit.net/xunit.analyzers/rules/xUnit1031)
build: Src/SmtpServer.Tests/PipeReaderTests.cs#L66
Test methods should not call ConfigureAwait(false), as it may bypass parallelization limits. Omit ConfigureAwait, or use ConfigureAwait(true) to avoid CA2007. (https://xunit.net/xunit.analyzers/rules/xUnit1030)
build: Src/SmtpServer.Tests/PipeReaderTests.cs#L65
Test methods should not call ConfigureAwait(false), as it may bypass parallelization limits. Omit ConfigureAwait, or use ConfigureAwait(true) to avoid CA2007. (https://xunit.net/xunit.analyzers/rules/xUnit1030)
build: Src/SmtpServer.Tests/PipeReaderTests.cs#L64
Test methods should not call ConfigureAwait(false), as it may bypass parallelization limits. Omit ConfigureAwait, or use ConfigureAwait(true) to avoid CA2007. (https://xunit.net/xunit.analyzers/rules/xUnit1030)
build: Src/SmtpServer.Tests/PipeReaderTests.cs#L47
Test methods should not call ConfigureAwait(false), as it may bypass parallelization limits. Omit ConfigureAwait, or use ConfigureAwait(true) to avoid CA2007. (https://xunit.net/xunit.analyzers/rules/xUnit1030)
build: Src/SmtpServer.Tests/PipeReaderTests.cs#L30
Test methods should not call ConfigureAwait(false), as it may bypass parallelization limits. Omit ConfigureAwait, or use ConfigureAwait(true) to avoid CA2007. (https://xunit.net/xunit.analyzers/rules/xUnit1030)
build: Src/SmtpServer.Tests/SmtpServerTests.cs#L50
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
build: Src/SmtpServer.Benchmarks/Program.cs#L19
'ConfigExtensions.With(IConfig, ConfigOptions)' is obsolete: 'This method will soon be removed, please start using .WithOptions() instead.'
build: Src/SmtpServer/Protocol/AuthCommand.cs#L175
Parameter 'maxMessageSizeOptions' has no matching param tag in the XML comment for 'AuthCommand.ReadBase64EncodedLineAsync(PipeReader, IMaxMessageSizeOptions, CancellationToken)' (but other parameters do)