Skip to content

feat: expose bounded authenticated TLS streams for gameplay protocols - #195

Merged
capz merged 1 commit into
mainfrom
codex/animaltown-tls-stream
Nov 26, 2026
Merged

capz merged 1 commit into
mainfrom
codex/animaltown-tls-stream

Conversation

@capz

@capz capz commented Nov 26, 2026 •

Copy link
Copy Markdown
Owner

AnimalTown's Cloudflare gameplay path needs a reusable certificate-validated TLS connection with nonblocking caller-owned buffers. Add Dolphin.Network.TlsStream over the existing provider, preserving trust/hostname/time checks, normal connection cancellation/deadlines, partial I/O and deterministic disposal. Add a bounded DRBG draw for upgrade nonces and unpredictable WebSocket masks; exhaustion still fails closed and requires fresh entropy.

The API adds no HTTP upgrades or game authentication itself. Existing HTTPS behavior and native resource limits remain in place.

Validation: scripts/ci_https.py passed native TLS acceptance plus Debug/Release AOT and GC-stress fixtures, now including the stream's fragmented response, clean TLS EOF, hostname failure, cancellation, range checks, disposal and DRBG output. The compiler integration suite passed locally. All PR workflows passed on c63f57e, including native/framework checks, image safety, NuGet verification, and isolated .NET 11 consumers.

@capz
capz merged commit ba33071 into main Nov 26, 2026
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant