Skip to content

Commit f347122

Browse files
authored
Apply suggestions from code review
1 parent d61ae9f commit f347122

File tree

1 file changed

+3
-3
lines changed
  • aspnetcore/fundamentals/servers/kestrel

1 file changed

+3
-3
lines changed

aspnetcore/fundamentals/servers/kestrel/http3.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ For more information, see <xref:fundamentals/servers/kestrel/endpoints>.
6969

7070
QUIC transport options can be configured by calling the <xref:Microsoft.AspNetCore.Hosting.WebHostBuilderQuicExtensions.UseQuic%2A> extension method on <xref:Microsoft.AspNetCore.Hosting.IWebHostBuilder>.
7171

72-
:::code language="csharp" source="samples/6.x/KestrelSample/Snippets/Program.cs" id="snippet_UseQuicWithOptions" highlight="3-8":::
72+
:::code language="csharp" source="samples/6.x/KestrelSample/Snippets/Program.cs" id="snippet_UseQuicWithOptions" highlight="4-6":::
7373

7474
The following table describes the available <xref:Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.QuicTransportOptions>:
7575

@@ -80,8 +80,8 @@ The following table describes the available <xref:Microsoft.AspNetCore.Server.Ke
8080
| <xref:Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.QuicTransportOptions.MaxReadBufferSize> | `1024 * 1024` (1 MB) | The maximum read buffer size in bytes. |
8181
| <xref:Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.QuicTransportOptions.MaxWriteBufferSize> | `64 * 1024` (64 KB) | The maximum write buffer size in bytes. |
8282
| <xref:Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.QuicTransportOptions.Backlog> | `512` | The maximum length of the pending connection queue. |
83-
| <xref:Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.QuicTransportOptions.DefaultStreamErrorCode> | `0x010c` (`H3_REQUEST_CANCELLED`) | Error code used when the stream needs to abort the read or write side of the stream internally. The value must be between `0x0` and `0x3FFFFFFFFFFFFFFF`. |
84-
| <xref:Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.QuicTransportOptions.DefaultCloseErrorCode> | `0x100` (`H3_NO_ERROR`) | Error code used when an open connection is disposed. The value must be between `0x0` and `0x3FFFFFFFFFFFFFFF`. |
83+
| <xref:Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.QuicTransportOptions.DefaultStreamErrorCode> | `0x010c` (H3_REQUEST_CANCELLED) | Error code used when the stream needs to abort the read or write side of the stream internally. |
84+
| <xref:Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.QuicTransportOptions.DefaultCloseErrorCode> | `0x100` (H3_NO_ERROR) | Error code used when an open connection is disposed. |
8585

8686

8787
## Alt-svc

0 commit comments

Comments
 (0)