07.06.2017 17:00, 胡聪 (hucc) пишет:
> 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 (...) "

this details are described below in the text

> 
>> 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:"

thanks, fixed
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel

Reply via email to