GithubHelp home page GithubHelp logo

Comments (3)

renatomefi avatar renatomefi commented on September 14, 2024

Hey @jelovac, it's a good idea, I was afraid at the beginning that would be too hard to map it all, because there are variances of how `cgi-fcgi behaves depending on the system, would you like to try to implement this one? We have tests for debian and alpine, hopefully that's enough and if people need other OS they can also implement it.

from php-fpm-healthcheck.

wandersonwhcr avatar wandersonwhcr commented on September 14, 2024

Hello @jelovac, how are you?

I tried to execute this behavior on alpine, debian and centos and I didn't found this issue.

Yes, if we execute:

$ cgi-fcgi -bind -connect localhost:9000
Could not connect to localhost:9000
$ echo $?
111

I receive this output, but php-fpm-healthcheck exits because we use set -e and cgi-fcgi exits with error.

https://github.com/renatomefi/php-fpm-healthcheck/blob/master/php-fpm-healthcheck#L42
https://github.com/renatomefi/php-fpm-healthcheck/blob/master/php-fpm-healthcheck#L58

Is there an implementation where cgi-fcgi exits without errors or set -e is ignored?

from php-fpm-healthcheck.

wandersonwhcr avatar wandersonwhcr commented on September 14, 2024

I am closing this issue.

If you need more help, please, can you reopen it?

ty

from php-fpm-healthcheck.

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.