Skip to content

Kestrel: IConnectionListenerFactory #131

@benaadams

Description

@benaadams

Problem

The README states "Works as a custom transport for ASP.NET Core Kestrel" and lists Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions as a key dependency. No Kestrel integration exists.

Sub-tasks

  • Create src/Magma.Kestrel project referencing Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions
  • Implement IConnectionListenerFactory backed by Magma's TCP transport
  • MagmaConnection wrapping Magma TCP connection as a Kestrel ConnectionContext
  • Duplex pipe bridging Magma's packet flow to Kestrel's IDuplexPipe
  • Unit tests with mock transport backend

Dependencies

Depends on: #108 (needs UDP for completeness), #103 (TCP must be tested first)
Unlocks: #132 (Kestrel backend selection)

Phase

Phase 3 (Advanced Integrations)

Metadata

Metadata

Labels

P1ImportantenhancementNew featurephase-3Advanced integrations

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions