Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DuplexPipeStream and Adapter Access #162

Open
AJK74 opened this issue Jun 6, 2023 · 0 comments
Open

DuplexPipeStream and Adapter Access #162

AJK74 opened this issue Jun 6, 2023 · 0 comments

Comments

@AJK74
Copy link

AJK74 commented Jun 6, 2023

Hi ,

+1 from me on BedrockFramework.

My use case is part of a SaaS solution where Bedrock allows me to build an application specific gateway on the same stack as other services. I'm using Yarp at the edge to handle multi-tenant routing for similar reasons.

Question

Is there a reason why DuplexPipeStream and the DuplexPipeStreamAdapter are limited to internal scope ?

My use case includes support for PostgreSQL wire protocol which starts out without TLS but can turn it on during startup negotiation.

To do this i've created some middleware to add a DuplexPipeStreamAdapter to the start of the pipeline - this then allows me to advance the transport before starting TLS negotiation.

Maybe there is another way to do that?
A branching duplex pipe / duplex pipe with a bypass would be handy I guess.

Thanks

PS - I'd appreciate a line or two on what the latest status of the project is.

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

No branches or pull requests

1 participant