dotnet / dotnet/aspnetcore

Convert WebSocket middleware to use Pipes

Open
#11,374 0 comments 0 reactions 0 assignees View on GitHub
area-networking feature-websockets
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 6h
Merged PRs (30d)
290

Description

Now that Kestrel directly exposes pipes we can start to consider converting the WebSocket middleware to use it. There are some blocking issues here though:

* `IHttpUpgradeFeature` doesn't expose a pipe.
* The CoreFX API to create a socket doesn't support wrapping a pipe, only a stream.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.