Giter Site home page Giter Site logo

Comments (3)

yaoweibin avatar yaoweibin commented on July 20, 2024

Thanks for your bug report, nice catch. I have fixed the problem in the new revision.
You may need a addition patch with your nginx_upstream_hash module. See the round robin as an example.

from nginx_upstream_check_module.

mtourne avatar mtourne commented on July 20, 2024

It still segv, I also suggest adding in ngx_http_check_add_peer() :

@@ -158,7 +158,11 @@
ngx_http_check_peer_t *peer;
ngx_http_check_peers_t *peers;
ngx_http_upstream_check_srv_conf_t *ucscf;

  • ngx_http_upstream_check_main_conf_t *ucmcf;
  • ngx_http_upstream_check_main_conf_t *ucmcf;
  • if (us->srv_conf == NULL) {
  •    return NGX_ERROR;
    
  • }

ucscf = ngx_http_conf_upstream_srv_conf(us, ngx_http_upstream_check_module);

from nginx_upstream_check_module.

yaoweibin avatar yaoweibin commented on July 20, 2024

OK, I have fixed it. Thanks again.

If you don't mind, I want to invite you to commit the module. And you will be a collaborator in the README file. You are an excellent Nginx user and developer.

from nginx_upstream_check_module.

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.