Skip to content

websocket-sharp v1.0.6 Unity Preview 1

Pre-release
Pre-release

Choose a tag to compare

@aevien aevien released this 05 Jun 04:10

Unity/.NET 4.x preview build for net472.

Changes in this preview:

  • Bounds TLS handshakes with existing timeout settings.
  • WebSocket.ConnectionTimeout now also limits client wss:// TLS handshake time.
  • Secure WebSocketServer.HandshakeTimeout and HttpServer.HandshakeTimeout now also limit server TLS handshakes before the first HTTP/WebSocket request.
  • Adds regression coverage for silent TLS peers on client, secure WebSocketServer, and secure HttpServer paths.
  • Adds stress coverage for 20 silent TLS handshakes while a valid secure echo client opens, echoes, and closes.

Verification:

  • dotnet build websocket-sharp\websocket-sharp.csproj -c Release --no-restore passed.
  • dotnet test tests\WebSocketSharp.Tests\WebSocketSharp.Tests.csproj -c Release --no-restore passed: 52/52.
  • dotnet test tests\WebSocketSharp.StressTests\WebSocketSharp.StressTests.csproj -c Release --no-restore --filter TestCategory=Stress passed: 7/7.
  • GitHub Actions build-test passed on dev and main for commit 0d51b06e.
  • No BeginInvoke / EndInvoke usage remains in websocket-sharp or tests.

Compatibility:

  • Target framework remains net472.
  • Assembly name remains websocket-sharp.
  • AssemblyVersion("1.0.2.32832") remains unchanged for Unity binary reference compatibility.
  • File/product version is 1.0.6.0.
  • WebGL remains unsupported for this managed socket DLL; use Unity/browser JavaScript WebSocket code there.