nginx development guide

胡聪 (hucc) hucong.c at foxmail.com
Wed Jun 7 14:00:26 UTC 2017


Hello,

There are two possible errors in
http://nginx.org/en/docs/dev/development_guide.html#http_load_balancing

>init(r, us) — initializes per-request ngx_http_upstream_peer_t.peer (not to be confused with the
>ngx_http_upstream_srv_conf_t.peer described above which is per-upstream) structure that is used
>for load balancing. It will be passed as data argument to all callbacks that deal with server selection.

Maybe is "initializes some fields (data, get, free, etc.) of per-request ngx_http_upstream_t.peer (...) "

>When nginx has to pass a request to another host for processing, it uses a configured load balancing method
>to obtain an address to connect to. The method is taken from the ngx_http_upstream_peer_t.peer object of
>type ngx_peer_connection_t:

It should be "The method is taken from the ngx_http_upstream_t.peer object of type ngx_peer_connection_t:"

------------------ Original ------------------
From:  "Maxim Konovalov";<maxim at nginx.com>;
Date:  Apr 20, 2017
To:  "nginx-devel"<nginx-devel at nginx.org>;
Subject:  Re: nginx development guide

Hello,

On 13/02/2017 12:38, Vladimir Homutov wrote:
> Hello all!
> 
> We are glad to share with first results of our ongoing efforts to create
> documentation for nginx developers: the development guide document [1].
> 
> The guide is not yet 100% complete and more parts to follow.
> 
> Of course, your feedback is welcome.
> 
> [1] http://nginx.org/en/docs/dev/development_guide.html

We added a bunch of new content recently. Feedbacks/comments are
welcome.

-- 
Maxim Konovalov
_______________________________________________
nginx-devel mailing list
nginx-devel at nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel


More information about the nginx-devel mailing list