Skip to content

Commit 49052f2

Browse files
committed
add formatting to true and false values
1 parent 9b2df7e commit 49052f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

support/developer/dotnet/framework/general/timeout-when-application-calls-poll-method.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ _Applies to:_ .NET Core
1616

1717
## Symptoms
1818

19-
A time-out occurs when you run an application that's using the `System.Net.Security.SslStream` class and that calls the `System.Net.Socket.Poll` method to check data on the underlying socket. When this issue occurs, the `Poll` method returns a value of false.
19+
A time-out occurs when you run an application that's using the `System.Net.Security.SslStream` class and that calls the `System.Net.Socket.Poll` method to check data on the underlying socket. When this issue occurs, the `Poll` method returns a value of `false`.
2020

2121
## Cause
2222

@@ -27,4 +27,4 @@ The `SslStream` class is reading data from the socket faster than the applicatio
2727
To work around this issue, use one of the following methods:
2828

2929
- Don't use the `Poll` method in the application. Instead, use the [Asynchronous Programming Model (APM)](/dotnet/standard/asynchronous-programming-patterns/asynchronous-programming-model-apm) pattern to get callbacks when data arrives.
30-
- If you must use the `Poll` method, when the method returns a value of true, make sure that all the stream buffer data was read before you enter another `Poll` call.
30+
- If you must use the `Poll` method, when the method returns a value of `true`, make sure that all the stream buffer data was read before you enter another `Poll` call.

0 commit comments

Comments
 (0)