Hacker News new | past | comments | ask | show | jobs | submit login

Since the entire design of Pipelines is 0-copy, I figure you would have to manually pull from one pipe, operate on it and push the resulting data into another pipe.

Im sure there is an example of connecting pipes together like this somewhere. Maybe in Kestrel or SignalR (Core)?




> Im sure there is an example of connection pipes together like this somewhere. Maybe in Kestrel or SignalR?

Last I checked, SignalR haven’t had a release in years, so I wouldn’t go there looking for news.


SignalR Core is what i meant.

It is alive an under active development on .NET Core

https://github.com/aspnet/SignalR


That’s definitely something different and you appear to be correct:

https://github.com/aspnet/SignalR/search?q=pipelines&unscope...


Yes, but assume you’re lazy: CompressionStream and EncryptionStream already exist.


If you're referring to [`CryptoStream`](https://msdn.microsoft.com/en-us/library/system.security.cry...), forget it. Using it securely (in particular against chosen ciphertext attacks) is nigh impossible.


I wonder which of that applies to SslStream class from the framework?

https://msdn.microsoft.com/en-us/library/system.net.security...




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: