Giter Site home page Giter Site logo

composite-service-http-gateway's People

Contributors

semantic-release-bot avatar zenflow avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

composite-service-http-gateway's Issues

Stop accepting http requests when shutting down

When the http gateway receives a signal to shut down,
if should finish fulfilling any pending requests,
so that we aren't left with any incomplete "transactions",
but it should stop accepting any new requests,
so that it will actually be able to finish up and exit.

Is it possible to stop listening on the port without ending the active connections over that port?
If not, how should the gateway respond to new requests that are received after the shutdown signal? 500 status code?

HttpGatewayConfig validation

Currently the configuration passed to configureHttpGateway() is not validated in any way.

It should have some validation; it doesn't need to be as robust as the validation for CompositeServiceConfig.

Support Unix domain sockets as proxy targets

Instead of providing an TCP URL for a proxy target, you would be able to provide a Unix domain socket URL like unix:/path/to/socket.sock. This would come with performance benefits, but I'm not too familiar with how HTTP over Unix domain sockets works.

Option to open the gateway URL in browser once gateway starts

Add HttpGatewayConfig.openBrowser: boolean defaulting to false. (Or see what other libraries call this option)

It might make sense to have the server listen on localhost instead of 0.0.0.0, since we can visit http://localhost:<port>/ in the browser (but not http://0.0.0.0:<port>/). edit: default host is now localhost

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.