Comments (2)
Indeed, it looks dumb. I haven't looked at this code for a very long time so I cannot tell you right now what it should be..
But still, the allocation is not a leak thanks to Nginx pools.
from nginx-upstream-fair.
indeed,I checked the code .
so there is no need to do this:peers = ngx_palloc(cf->pool, sizeof *peers);
from nginx-upstream-fair.
Related Issues (20)
- Syntax problem?
- nginx 1.4 & module
- white page
- Upstream session control.
- Provide a Licence
- Create a 0.10 release please (I am a package maintainer)
- Segfault in ngx_http_upstream_fair_walk_shm() HOT 1
- unknown directive "fair" HOT 2
- some issues about ngx_http_upstream_fair_sched_score
- nginx worker process 10089 exited on signal 8 HOT 4
- Errors to compiling HOT 3
- Does this work with sticky sessions?
- Traffic goes to the failed Hybris Node
- Can nginx-upstream-fair support cname?
- 错误:ngx_http_upstream_srv_conf_t’没有名为‘default_port’的成员 HOT 9
- module "/usr/lib64/nginx/modules/ngx_http_geoip_module.so" is not binary compatible in /usr/share/nginx/modules/mod-http-geoip.conf HOT 1
- 为什么安装后 测试的效果跟轮询一样呢,并没有按响应时间来分配
- server restart,node will not be called again HOT 1
- how to use it in windows?
- nginx-upstream-fair-master - cannot create objs HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nginx-upstream-fair.