Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
DESKTOP-OF5N1CE\cain committed Dec 26, 2018
1 parent 5cac4c6 commit c99a7e7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Src/SmtpServer/SmtpServer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ async Task ListenAsync(IEndpointDefinition endpointDefinition, CancellationToken
var stream = await endpointListener.GetStreamAsync(sessionContext, cancellationToken).ConfigureAwait(false);
cancellationToken.ThrowIfCancellationRequested();

HERE: move different options to the endpoint where appropriate

sessionContext.NetworkClient = new NetworkClient(stream, _options.NetworkBufferSize, _options.NetworkBufferReadTimeout);

if (endpointDefinition.IsSecure && _options.ServerCertificate != null)
Expand Down

0 comments on commit c99a7e7

Please sign in to comment.