Skip to content

Commit b86e7b4

Browse files
authored
Update changelogs from fern repo (#4427)
1 parent 86d6d3b commit b86e7b4

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

fern/products/sdks/overview/csharp/changelog/2026-03-20.mdx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
## 2.47.0
2+
**`(feat):`** Add receive hang detection via a background state monitor task. A new
3+
`StateCheckInterval` property (default: 5 seconds) controls how often the
4+
monitor polls `WebSocket.State`. When the state transitions to `Closed`,
5+
`Aborted`, or `CloseReceived` — indicating the TCP connection died without
6+
notifying the receive loop — the monitor cancels the pending `ReceiveAsync`
7+
via a linked `CancellationTokenSource`. This works around known .NET runtime
8+
issues where `ReceiveAsync` hangs indefinitely on silent TCP disconnections
9+
(dotnet/runtime#110496) and `Abort()` fails to cancel a pending receive
10+
(dotnet/runtime#44272). Set `StateCheckInterval` to `null` to disable.
11+
12+
113
## 2.46.0
214
**`(feat):`** Wire up WebSocket reconnection logic. The `WebSocketConnection` template now
315
contains a complete reconnection implementation ported from the Marfusios library:

0 commit comments

Comments
 (0)