Skip to content

websocket-sharp v1.0.5 Unity Preview 1

Pre-release
Pre-release

Choose a tag to compare

@aevien aevien released this 05 Jun 03:10

Unity-oriented preview release for the maintained fork.

Target:

  • net472 / Unity .NET 4.x profile
  • Suitable for Unity Editor, Standalone and mobile IL2CPP/Mono plugin import where managed .NET sockets are available
  • WebGL is not targeted because Unity WebGL uses the browser JavaScript WebSocket stack
  • Legacy Windows 7/8 compatibility is intentionally not a target

Changes since v1.0.4-unity-preview.1:

  • Added FrameReadTimeout for partial WebSocket frame reads
  • Idle open connections with no incoming bytes are not closed by FrameReadTimeout
  • Partial frame header stalls and declared payload stalls now close with protocol error without delivering OnMessage
  • Added server WebSocketBehavior.FrameReadTimeout configuration
  • Updated README and version metadata to 1.0.5.0

Validation before release:

  • Release build: passed, 0 warnings, 0 errors
  • Unit tests: 49/49 passed
  • Stress tests: 6/6 passed
  • BeginInvoke/EndInvoke guard: no matches in websocket-sharp or tests
  • Stress coverage included 500 async lifecycle cycles, 50 CCU x 100 echo messages, 50 simultaneous ConnectAsync clients, close lifecycle stress, resource lifecycle stress and slow-handshake timeout coverage

Artifacts:

  • websocket-sharp.dll SHA256: 0C5832E41CCDD6D4F718F263BC75694648059B20BC9B3F07FF8D55B4422C3C88
  • websocket-sharp-v1.0.5-unity-preview.1-unity-net472.zip SHA256: D2AA3929ACEE096ED3E7BFEB18F11DED1D4ECA389AD906A3404A2C32403FDF83