Commit b19ab58
committed
Work around SocketsHttpHandler bug where it doesn't call DispseAsync on the stream returned by the ConnectCallback
- Move workaround to KestrelInMemoryConnection instead of SseClientSessionTransport which is product code1 parent 575c2bc commit b19ab58
2 files changed
Lines changed: 3 additions & 11 deletions
File tree
- src/ModelContextProtocol/Protocol/Transport
- tests/ModelContextProtocol.Tests/Utils
Lines changed: 1 addition & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
204 | 204 | | |
205 | 205 | | |
206 | 206 | | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | | - | |
| 207 | + | |
213 | 208 | | |
214 | | - | |
215 | | - | |
216 | 209 | | |
217 | 210 | | |
218 | 211 | | |
| |||
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
| 83 | + | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
87 | 86 | | |
88 | 87 | | |
89 | 88 | | |
| |||
0 commit comments