Giter Site home page Giter Site logo

Comments (5)

mgravell avatar mgravell commented on September 21, 2024

from pipelines.sockets.unofficial.

xqrzd avatar xqrzd commented on September 21, 2024

Thanks for the tips, I was able to get it working by converting the SocketConnection to a stream, and passing that to SslStream (I still need a weird inner stream due to Kudu doing TLS handshake over protobuf). I ran into a minor problem; I still had a running task that was reading from the SocketConnection pipe, so I had to cancel that loop otherwise I got a 'read already in progress' exception. Finally, I converted the AsyncPipeStream back into a pipe.

The last piece now is being able to downgrade from TLS. In the above example, since that new TLS pipe has it's own read loop, I get the 'read already in progress' issue if I try to use the SocketConnection again. I'll have more time to experiment with this in a couple days, but thanks again for your help.

from pipelines.sockets.unofficial.

mgravell avatar mgravell commented on September 21, 2024

from pipelines.sockets.unofficial.

Drawaes avatar Drawaes commented on September 21, 2024

I need to dig out some code. I did exactly this for an Ms SQL driver where I encrypt during the early auth and then drop.

from pipelines.sockets.unofficial.

xqrzd avatar xqrzd commented on September 21, 2024

As it turns out the problem exists between keyboard and chair, I have no need to downgrade from TLS as it isn't event supported. I should have read the documentation closer. I got it working with pipelines, thanks again for your help!

from pipelines.sockets.unofficial.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.