Skip to content

Commit 546cb71

Browse files
committed
doc comments
1 parent 65fbefe commit 546cb71

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Servers/HttpSys/src/IHttpSysRequestPropertyFeature.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public interface IHttpSysRequestPropertyFeature
1212
/// <summary>
1313
/// Reads the TLS client hello from HTTP.SYS
1414
/// </summary>
15-
/// <param name="tlsClientHelloBytesDestination">Where the raw bytes of the TLS Client Hello message will be written.</param>
15+
/// <param name="tlsClientHelloBytesDestination">Where the raw bytes of the TLS Client Hello message are written.</param>
1616
/// <param name="bytesReturned">
1717
/// Returns the number of bytes written to <paramref name="tlsClientHelloBytesDestination"/>.
1818
/// Or can return the size of the buffer needed if <paramref name="tlsClientHelloBytesDestination"/> wasn't large enough.
@@ -28,7 +28,7 @@ public interface IHttpSysRequestPropertyFeature
2828
/// </remarks>
2929
/// <returns>
3030
/// True, if fetching TLS client hello was successful, false if <paramref name="tlsClientHelloBytesDestination"/> size is not large enough.
31-
/// If non-successful for other reason throws an exception.
31+
/// If unsuccessful for other reason throws an exception.
3232
/// </returns>
3333
/// <exception cref="HttpSysException">Any HttpSys error except for ERROR_INSUFFICIENT_BUFFER or ERROR_MORE_DATA.</exception>
3434
/// <exception cref="InvalidOperationException">If HttpSys does not support querying the TLS Client Hello.</exception>

src/Servers/HttpSys/src/RequestProcessing/RequestContext.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ internal unsafe bool TryGetTlsClientHelloMessageBytes(
262262
return true;
263263
}
264264

265-
// if buffer supplied is too small, `bytesReturned` will have proper size
265+
// if buffer supplied is too small, `bytesReturned` has proper size
266266
if (statusCode is ErrorCodes.ERROR_MORE_DATA or ErrorCodes.ERROR_INSUFFICIENT_BUFFER)
267267
{
268268
return false;

0 commit comments

Comments
 (0)