Summary
The AsyncWebsocketMessageEnumerator makes use of the shared ArrayPool to rent a buffer that is used during enumeration. As part of #459 concerns were raised that this may be a dangerous choice for implementation and should be reconsidered.
Scope
- Evaluate the implementation and take thoughts from the PR discussion into account.
- If the implementation needs to be adjusted, make the adjustments and ensure test coverage.
References and resources