nginx development guide

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


There are two possible errors in

>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>;
Date:  Apr 20, 2017
To:  "nginx-devel"<nginx-devel at>;
Subject:  Re: nginx development guide


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]

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

Maxim Konovalov
nginx-devel mailing list
nginx-devel at

More information about the nginx-devel mailing list