Git Product home page Git Product logo

Comments (6)

weissi avatar weissi commented on September 23, 2024 2

CC @tanner0101 / @adam-fowler / @artemredkin / @Yasumoto who are at least some of the folks who we had suffer through repeating this code.

Example: swift-server/async-http-client@5298f20#diff-8798af428c5cad17d0051540505e9d00R76

from swift-nio-extras.

weissi avatar weissi commented on September 23, 2024

The seed for this module could be EventLoopGroupManager (probably needs a better name): https://github.com/apple/swift-nio-examples/pull/48/files#diff-f7cf525c49713fc729e91d7720262e47R34

from swift-nio-extras.

weissi avatar weissi commented on September 23, 2024

Please leave comments with stuff that you think this needs to support. The community wanted NIO anyway to provide a standard EventLoopGroup provider (#49) which could be solved with this issue too.

from swift-nio-extras.

adam-fowler avatar adam-fowler commented on September 23, 2024

@weissi is there any point adding a TLS provider if useTLS is set to false? In the async-http-client example above in the situation where we are going through a proxy and TLS is to added later on in the pipeline I create the bootstrap as follows

bootstrap = NIOClientTCPBootstrap(tsBootstrap, tls: NIOInsecureNoTLS())

Don't know if it really makes any difference.

from swift-nio-extras.

dnadoba avatar dnadoba commented on September 23, 2024

Any progress on this topic?EventLoopGroupManager looks actually really good! Maybe we can just move it into swift-nio-extras so we don't need to copy & past it.

from swift-nio-extras.

weissi avatar weissi commented on September 23, 2024

@dnadoba I think we haven't resolved a really boring issue yet: Where can this live? I think it would depend on NIO, NIOSSL, and NIOTS at least but we can't really make this repo depend on them all :(.

from swift-nio-extras.

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.