Fix Bug: .NetFramework 4.8 ClientWebSocket Cann't Connect To .Net8 WsSession
lwf163 opened this issue · comments
lwf163 commented
I fix a bug is
161 Line, In WebSocket.cs File:
if ((string.Compare(value, "Upgrade", StringComparison.OrdinalIgnoreCase) != 0) && (string.Compare(value, "keep-alive, Upgrade", StringComparison.OrdinalIgnoreCase) != 0) && (string.Compare(value, "upgrade,keep-alive", StringComparison.OrdinalIgnoreCase) != 0))
because request header is "Connection=Upgrade,Keep-alive"
Ivan Shynkarenka commented
Thanks for reporting! Fixed in 8.0.6.0 - please check on your side